Get-CMSiteSystemServer

Gets a site system server.

Syntax

Get-CMSiteSystemServer
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   -InputObject <IResultObject>
   [<CommonParameters>]
Get-CMSiteSystemServer [[-SiteSystemServerName] ] [-DisableWildcardHandling] [-ForceWildcardHandling]
 [-SiteCode ] []

Description

The Get-CMSiteSystemServer cmdlet gets a site system server in Microsoft System Center Configuration Manager.

Examples

Example 1: Get a site system server

PS C:\> Get-CMSiteSystemServer -SiteSystemServerName "Server2.contoso.com" -SiteCode "MP5"

This command gets the site system server named Server2.contoso.com for site code MP5.

Required Parameters

-InputObject

Specifies a site system object.

Type:IResultObject
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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

Specifies a site code for a Configuration Manager site.

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

Specifies a server name for the site system.

Type:String
Aliases:Name, ServerName
Required:False
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IResultObject[]#SMS_SCI_SysResUse