Set-CMSiteSystemServer
Set-CMSiteSystemServer
Modifies an object that represents a site system server in System Center 2012 Configuration Manager.
Syntax
Parameter Set: SearchByNameMandatory
Set-CMSiteSystemServer -SiteCode <String> -SiteSystemServerName <String> [-AccountName <String> ] [-EnableProxy <Boolean> ] [-FdmOperation <Boolean> ] [-ProxyAccessAccount <IResultObject> ] [-ProxyServerName <String> ] [-ProxyServerPort <UInt32> ] [-PublicFqdn <String> ] [-UseSiteServerAccount] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Set-CMSiteSystemServer -InputObject <IResultObject> [-AccountName <String> ] [-EnableProxy <Boolean> ] [-FdmOperation <Boolean> ] [-ProxyAccessAccount <IResultObject> ] [-ProxyServerName <String> ] [-ProxyServerPort <UInt32> ] [-PublicFqdn <String> ] [-UseSiteServerAccount] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Set-CMSiteSystemServer cmdlet modifies an object that represents a site system server in Microsoft System Center 2012 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
-AccountName<String>
Specifies an account name for the Configuration Manager site.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-EnableProxy<Boolean>
Indicates whether to enable a proxy server.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-FdmOperation<Boolean>
Indicates whether a site system pushes information back to a site server, or whether a site server pushes information to a site system.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-InputObject<IResultObject>
Specifies an input object. To obtain an input object, use the Get-CMSiteSystemServer cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-ProxyAccessAccount<IResultObject>
Specifies an input object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ProxyServerName<String>
Specifies the name of a proxy server.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ProxyServerPort<UInt32>
Specifies the port number of a proxy server.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-PublicFqdn<String>
Specifies a fully qualified domain name (FQDN) path for a Configuration Manager site.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-SiteCode<String>
Specifies a site code in a Configuration Manager site.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-SiteSystemServerName<String>
Specifies a server name in a Configuration Manager site.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-UseSiteServerAccount
Indicates that the cmdlet uses the site server account.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
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: Modify settings for a site system server
This command uses the Set-CMSiteSystemServer cmdlet to modify the settings for a site system server named Server1.Corp.Contoso.com. The command enables a proxy and specifies a proxy server and port number.
PS C:\> Set-CMSiteSystemServer -AccountName "Western\AimeeLott" -EnableProxy $True -ProxyAddress "Proxy1.Corp.Contoso.Com" -ProxyPort 80 -SiteCode "CM1" -SiteSystemServerName "Server1.Corp.Contoso.Com" -UseSiteServerAccount