Get-CMMigrationEntity
Get-CMMigrationEntity
Gets a migration entity in System Center 2012 Configuration Manager.
Syntax
Parameter Set: SearchById
Get-CMMigrationEntity [-Id <String> ] [ <CommonParameters>]
Parameter Set: SearchByName
Get-CMMigrationEntity [-Name <String> ] [ <CommonParameters>]
Parameter Set: SearchByOthers
Get-CMMigrationEntity [-IsActive <String> ] [-Type <String> ] [ <CommonParameters>]
Detailed Description
The Get-CMMigrationEntity cmdlet gets the migration entity in Microsoft System Center 2012 SP1 Configuration Manager. A migration entity is an object to be migrated that is of any type that is supported by migration.
Parameters
-Id<String>
Specifies an identifier in Configuration Manager.
Aliases |
EntityId |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-IsActive<String>
Specifies that this migration entity is active.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies a name in Configuration Manager.
Aliases |
EntityName |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Type<String>
Specifies a type in Configuration Manager.
Aliases |
none |
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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 information about all your migration entities
This command returns information about all of your migration entities.
PS C:\> Get-CMMigrationEntity
Example 2: Get information about a specific migration entity
This command returns information about the migration entity with the name MigrationTest.
PS C:\> Get-CMMigrationEntity -Name "MigrationTest"
Example 3: Get information about active migration entities
This command returns information about all of your active migration entities.
PS C:\> Get-CMMigrationEntity -IsActive