Edit

Share via


Get-CMMigrationEntity

Gets a migration entity in Configuration Manager.

Syntax

Get-CMMigrationEntity
   [-Id <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMMigrationEntity
   [-IsActive <String>]
   [-Type <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMMigrationEntity
   [-Name <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

The Get-CMMigrationEntity cmdlet gets the migration entity in Configuration Manager. A migration entity is an object to be migrated that is of any type that is supported by migration.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Get information about all your migration entities

PS XYZ:\> Get-CMMigrationEntity

This command returns information about all of your migration entities.

Example 2: Get information about a specific migration entity

PS XYZ:\> Get-CMMigrationEntity -Name "MigrationTest"

This command returns information about the migration entity with the name MigrationTest.

Example 3: Get information about active migration entities

PS XYZ:\> Get-CMMigrationEntity -IsActive

This command returns information about all of your active migration entities.

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

-Id

Specifies an identifier in Configuration Manager.

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

-IsActive

Specifies that this migration entity is active.

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

-Name

Specifies a name in Configuration Manager.

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

-Type

Specifies a type in Configuration Manager.

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

Inputs

None

Outputs

IResultObject[]

IResultObject