The Remove-MDMGatewayServercmdlet removes the specified Mobile Device Manager (MDM) Gateway Server and all corresponding properties from MDM.
You should also remove the specified MDM Gateway Server from the perimeter network and the IP address of MDM Gateway Server from the Domain Name System (DNS) entry. Otherwise, the computer that is running MDM Gateway Server will continue to service virtual private network (VPN) connections.
Syntax
Remove-MDMGatewayServer [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>] |
Parameters
The following describes the Remove-MDMGatewayServercmdlet parameters.
- Name <String>
-
Specifies the name of the MDM Gateway Server to remove. The nameparameter can be the logical name or the fully qualified domain name (FQDN).
- WhatIf
-
Informs you of what changes would be made if the action were to be performed (the cmdlet is not executed).
- Confirm
-
Prompts you for confirmation before the cmdlet executes.
- CommonParameters
-
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, and -OutVariable. For more information, at the MDM Shell prompt, type get-help about_commonparameters.
Input Type
The Remove-MDMGatewayServercmdlet accepts a string through the pipeline, or an object that has the property, namethat identifies the MDM Gateway Server.
Output Type
None
Examples
This Remove-MDMGatewayServercommand example removes MDM Gateway Server, Gateway1, from MDM.
Copy Code | |
---|---|
C:\PS>Remove-MDMGatewayServer -name Gateway1 |
Cmdlet Help
To view this information online, at the MDM Shell prompt, type:
get-help Remove-MDMGatewayServer -detailed, or get-help Remove-MDMGatewayServer -full