Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-CMCloudManagementGateway

Get a cloud management gateway (CMG).

Syntax

SearchByName (Default)

Get-CMCloudManagementGateway
 [-Name <String>]
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [<CommonParameters>]

SearchByIdMandatory

Get-CMCloudManagementGateway
 -Id <String>
 [-DisableWildcardHandling]
 [-ForceWildcardHandling]
 [<CommonParameters>]

Description

Use this cmdlet to get an object for a cloud management gateway (CMG) that's configured for the site.

For more information, see CMG Overview.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1

Get-CMCloudManagementGateway -Name "GraniteFalls.cloudapp.net"

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-Id

Specify the site's ID for the Azure service. The Id is the integer value stored in the site database for the service. For example, run the following SQL query, and look at the ID column: select * from Azure_CloudService.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureServiceId

Parameter sets

-Name

Specify the service name for the CMG in Azure.

Parameter properties

Type:String
Default value:None
Supports wildcards:True
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

IResultObject

Related Links


Feedback

Was this page helpful?