Get-MDMGatewayServer

2/9/2009

The Get-MDMGatewayServer cmdlet returns a collection of MDMGatewayServer objects 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-MDMGatewayServer cmdlet 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-MDMGatewayServer cmdlet 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-MDMGatewayServer cmdlet returns an MDMGatewayServer object. To see all the properties of this object, at the MDM Shell prompt, type Get-MDMGatewayServer | Get-Member.

Examples

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

C:\PS>Get-MDMGatewayServer

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

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

Reference

Set-MDMGatewayServer