New-CMSiteSystemServer

Add a new site system server.

Syntax

New-CMSiteSystemServer
   [-AccountName <String>]
   [-EnableProxy <Boolean>]
   [-FdmOperation <Boolean>]
   [-ProxyAccessAccount <IResultObject>]
   [-ProxyServerName <String>]
   [-ProxyServerPort <UInt32>]
   [-PublicFqdn <String>]
   [-SiteCode <String>]
   [-SiteSystemServerName] <String>
   [-UseSiteServerAccount]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Use this cmdlet to create a new site system server. A server with the Site system role hosts one or more other roles for a Configuration Manager site.

To add specific site system roles, use one of the following cmdlets:

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Create a site system server

New-CMSiteSystemServer -SiteSystemServerName "Server1.contoso.com" -SiteCode "MP5" -PublicFqdn "Internetsrv1.contoso.com" -FdmOperation $True -UseSiteServerAccount -EnableProxy $True -ProxyServerName "ProxyServer1" -ProxyServerPort 80 -ProxyAccessAccount (Get-CMAccount "contoso\proxysvc")

Parameters

-AccountName

Specify the account for installing this site system, and the account used for all connections from the site server. For more information, see Site system installation account.

To use the site server's computer account, use the UseSiteServerAccount parameter.

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-EnableProxy

Set this parameter to $true for the site system to use a proxy server when it synchronizes information from the internet.

If you enable this option, also configure the following parameters:

  • ProxyServerName
  • ProxyServerPort
  • ProxyAccessAccount
Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FdmOperation

Set this parameter to $true to require the site server to initiate connections to this site system.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

-ProxyAccessAccount

If you set EnableProxy to $true, use this parameter to specify an account object. The site system uses these credentials to authenticate to the proxy server. To get this account object, use the Get-CMAccount cmdlet.

Type:IResultObject
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProxyServerName

If you set EnableProxy to $true, use this parameter to specify the name of the proxy server. This parameter accepts the following types of values:

  • Fully qualified domain name (FQDN)
  • Hostname
  • IPv4 or IPv6 address
Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProxyServerPort

If you set EnableProxy to $true, use this parameter to specify the proxy server port number.

Type:UInt32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PublicFqdn

Specify an FQDN for the site system to use on the internet.

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

-SiteCode

Specify the site code for this site system.

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

-SiteSystemServerName

Specify the name of the site system server to configure.

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

-UseSiteServerAccount

Add this parameter to use the site server's computer account to install this site system. For more information, see Site system installation account.

To use another account, use the UseSiteServerAccount parameter.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

IResultObject