Share via


Get-CMStateMigrationPoint

Get-CMStateMigrationPoint

Gets a state migration point for a Configuration Manager site.

Syntax

Parameter Set: SearchByName
Get-CMStateMigrationPoint [-SiteCode <String> ] [-SiteSystemServerName <String> ] [ <CommonParameters>]

Detailed Description

The Get-CMStateMigrationPoint cmdlet gets a state migration point for a Microsoft System Center 2012 SP1 Configuration Manager site. This site system role stores user information. You can store user information while an operating system deployment proceeds and then restore user information from the state migration point.

You can use this cmdlet to get state migration point objects to use with the Remove-CMStateMigrationPoint cmdlet.

Each state migration point site server can be a member of only one System Center 2012 Configuration Manager site.

Parameters

-SiteCode<String>

Specifies a site code for a Configuration Manager site.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteSystemServerName<String>

Specifies the host name for a state migration point.

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 a migration point

This command gets a state migration point that belongs to the specified site and has the specified host name.

PS C:\> Get-CMStateMigrationPoint -SiteCode "CM1" -SiteSystemServerName "SMP01.Western.Contoso.com" 

Add-CMStateMigrationPoint

Remove-CMStateMigrationPoint

Set-CMStateMigrationPoint