Export (0) Print
Expand All
Expand Minimize

Get-CMMigrationCollection

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Get-CMMigrationCollection

Gets collections selected for migration.

Syntax

Parameter Set: SearchById
Get-CMMigrationCollection [-Id <String> ] [ <CommonParameters>]

Parameter Set: SearchByName
Get-CMMigrationCollection [-Name <String> ] [ <CommonParameters>]




Detailed 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 2012 Configuration Manager hierarchy. A migration collection is the set of resources chosen from a hierarchy for migration, including related objects.

Parameters

-Id<String>

Specifies an identifier for a collection in Configuration Manager.


Aliases

CollectionEntityId

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies a name for a collection in Configuration Manager.


Aliases

CollectionName

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get a migration collection by name

This command uses the Get-CMMigrationCollection cmdlet to get the migration collection. The command specifies the value PhoneCollection5 for the Name parameter.


PS C:\> Get-CMMigrationCollection -Name "PhoneCollection5"
 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft