Get-CMSiteSystemServer

Get-CMSiteSystemServer

Retrieves an object that represents a site system server in System Center 2012 Configuration Manager.

Syntax

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

Detailed Description

The Get-CMSiteSystemServer cmdlet retrieves an object that represents a site system server in Microsoft System Center 2012 SP1 Configuration Manager. A site system server provides functionality to a configuration management site, such as communication between a System Center 2012 Configuration Manager server and System Center 2012 Configuration Manager clients.

Parameters

-SiteCode<String>

Specifies a site code for the Configuration Manager site.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteSystemServerName<String>

Specifies a server name for the Configuration Manager site.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

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 site system server by using the site code and server name

This command gets an object that represents the site system server.

PS C:\> Get-CMSiteSystemServer –SiteCode "CM2" –SiteSystemServerName "ContosoSvr02"

New-CMSiteSystemServer

Set-CMSiteSystemServer