Get-CMMdmEnrollmentManager

Gets a Device Enrollment Manager.

Syntax

Get-CMMdmEnrollmentManager
   -Id <Int32[]>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMMdmEnrollmentManager
   [-Name <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

The Get-CMMdmEnrollmentManger cmdlet gets one or more Device Enrollment Managers.

Examples

Example 1: Get a device enrollment manager by name

PS C:\> Get-CMMdmEnrollmentManager -name "Contoso\User01"

This command gets the device enrollment manager named User01.

Example 2: Get a device enrollment manager by ID

PS C:\> Get-CMMdmEnrollmentManager -ID "1234567890"

This command gets the device enrollment manager named 1234567890.

Required Parameters

-Id

Specifies an array of Configuration Manager user IDs.

Type:Int32[]
Aliases:Ids, ResourceId, ResourceIds
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of a Configuration Manager user.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IResultObject#SMS_MDMDeviceEnrollmentManagers