Get-CMMigrationCollection

Gets collections selected for migration.

Syntax

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

Description

The Get-CMMigrationCollection cmdlet gets the collections selected from a source hierarchy for migration. A collection is a set of resources in the Microsoft System Center Configuration Manager hierarchy. A migration collection is the set of resources chosen from a hierarchy for migration, including related objects.

Examples

Example 1: Get a migration collection by name

PS C:\> Get-CMMigrationCollection -Name "PhoneCollection5"

This command gets the migration collection. The command specifies the value PhoneCollection5 for the Name parameter.

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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

Specifies an identifier for a collection in Configuration Manager.

Type:String
Aliases:CollectionEntityId
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies a name for a collection in Configuration Manager.

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