Get-CMSiteSystemServer
Get the site system server role.
Syntax
SearchByName (Default)
Get-CMSiteSystemServer
[[-SiteSystemServerName] <String>]
[-AllSite]
[-SiteCode <String>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
SearchByValue
Get-CMSiteSystemServer
-InputObject <IResultObject>
[-AllSite]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Description
Use this cmdlet to get the site system server role. A server with the Site system role hosts one or more other roles for a Configuration Manager site.
To get specific site system roles, use one of the following cmdlets:
- Get-CMAssetIntelligenceSynchronizationPoint
- Get-CMCertificateRegistrationPoint
- Get-CMCloudManagementGatewayConnectionPoint
- Get-CMDataWarehouseServicePoint
- Get-CMDistributionPoint
- Get-CMEndpointProtectionPoint
- Get-CMFallbackStatusPoint
- Get-CMManagementPoint
- Get-CMMulticastServicePoint
- Get-CMReportingServicePoint
- Get-CMServiceConnectionPoint
- Get-CMSoftwareUpdatePoint
- Get-CMStateMigrationPoint
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 a site system server
This command gets the site system server named Server2.contoso.com for site code MP5.
Get-CMSiteSystemServer -SiteSystemServerName "Server2.contoso.com" -SiteCode "MP5"
Parameters
-AllSite
Add this parameter to look for the site system server across all sites.
To specify a specific site, use the SiteCode parameter.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AllSites |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DisableWildcardHandling
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ForceWildcardHandling
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-InputObject
Specify a site system object SMS_SCI_SysResUse with role name SMS Site System
.
Parameter properties
Type: | IResultObject |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
SearchByValue
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SiteCode
Specify a Configuration Manager site code to look for the site system server.
To look across all sites, use the AllSite parameter.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
SearchByName
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SiteSystemServerName
Specify a server name for the site system to get.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | True |
DontShow: | False |
Aliases: | Name, ServerName |
Parameter sets
SearchByName
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.