Get-CMMigrationCollection
Get-CMMigrationCollection
Gets collections selected for migration.
構文
Parameter Set: SearchById
Get-CMMigrationCollection [-Id <String> ] [ <CommonParameters>]
Parameter Set: SearchByName
Get-CMMigrationCollection [-Name <String> ] [ <CommonParameters>]
詳細説明
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.
パラメーター
-Id<String>
Specifies an identifier for a collection in Configuration Manager.
エイリアス |
CollectionEntityId |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies a name for a collection in Configuration Manager.
エイリアス |
CollectionName |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
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"