10/17/2008

The Get-MDMGatewayServercmdlet returns a collection of MDMGatewayServerobjects that represent the current gateway-specific settings and the last known configuration status.

You can return the settings for a single computer that is running Mobile Device Manager Gateway Server by specifying the gateway name. If you do not specify a name, the command returns the current settings for all computers that are running MDM Gateway Server.

Syntax

Get-MDMGatewayServer [[-Name] <string>]
[<CommonParameters>]

Parameters

The following describes the Get-MDMGatewayServercmdlet parameters.

Name <String>

Specifies the name of the gateway. The name parameter can be the logical name or the fully qualified domain name (FQDN). If you do not specify a name, the current settings for all computers that are running MDM Gateway Server are returned. If the value contains a space or other special characters, enclose the string in quotation marks.

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 Get-MDMGatewayServercmdlet accepts a string through the pipeline, or an object that has the property, name, that identifies the specified MDM Gateway Server.

Output Type

The Get-MDMGatewayServercmdlet returns an MDMGatewayServerobject. To see all the properties of this object, at the MDM Shell prompt, type Get-MDMGatewayServer | Get-Member.

Examples

This Get-MDMGatewayServercommand example returns the current settings for all computers that are running MDM Gateway Server.

Copy Code
C:\PS>Get-MDMGatewayServer

This Get-MDMGatewayServercommand example returns the current settings for MDM Gateway Server, Gateway1.

Copy Code
C:\PS>Get-MDMGatewayServer -Name Gateway1

Cmdlet Help

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

get-help Get-MDMGatewayServer -detailed, or get-help Get-MDMGatewayServer -full

See Also