Share via


Start-MDMVPNService

2/9/2009

The Start-MDMVPNService cmdlet starts the virtual private network (VPN) service on the specified Mobile Device Manager Gateway Server.

Syntax

Start-MDMVPNService [-Name] <string> [-confirm] [-whatif] [<CommonParameters>]

Parameters

The following describes the Start-MDMVPNService cmdlet parameters.

  • Name <String>
    Specifies the name of the computer that is running MDM Gateway Server for which to start the VPN service. The name parameter can be the logical name or the fully qualified domain name (FQDN). If the value contains a space or other special characters, enclose the string in quotation marks.
  • 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 Start-MDMVPNService cmdlet accepts a string through the pipeline, or an object that has the property, name, that specifies the name of the computer that is running MDM Gateway Server.

Output Type

None

Examples

This Start-MDMVPNService command example starts the VPN service for MDM Gateway Server, Gateway1.

C:\PS>Start-MDMVPNService -Server Gateway1

Cmdlet Help

To view this information online, at the MDM Shell prompt, type:

get-help Start-MDMVPNService -detailed, or get-help Start-MDMVPNService -full

See Also

Reference

Stop-MDMVPNService
Set-MDMGatewayServer