Bewerken

Delen via


Add-CMSoftwareUpdatePoint

Add a software update point.

Syntax

Add-CMSoftwareUpdatePoint
   [-AnonymousWsusAccess]
   [-ClientConnectionType <ClientConnectionTypes>]
   [-ConnectionAccountUserName <String>]
   [-EnableCloudGateway]
   -InputObject <IResultObject>
   [-UseProxy <Boolean>]
   [-UseProxyForAutoDeploymentRule <Boolean>]
   [-WsusIisPort <Int32>]
   [-WsusIisSslPort <Int32>]
   [-WsusSsl <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-CMSoftwareUpdatePoint
   [-AnonymousWsusAccess]
   [-ClientConnectionType <ClientConnectionTypes>]
   [-ConnectionAccountUserName <String>]
   [-EnableCloudGateway]
   [-SiteCode <String>]
   [-SiteSystemServerName] <String>
   [-UseProxy <Boolean>]
   [-UseProxyForAutoDeploymentRule <Boolean>]
   [-WsusIisPort <Int32>]
   [-WsusIisSslPort <Int32>]
   [-WsusSsl <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Use this cmdlet to add a software update point to the site. This site system role hosts the Windows Software Update Services (WSUS) processes.

After you add the role, use the Set-CMSoftwareUpdatePointComponent cmdlet to configure the site component.

Note

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

Examples

Example 1: Add a software update point

This command adds a software update point on the computer named CMSoftwareUpdatePoint.TSQA.Contoso.com for the Configuration Manager site that has the site code CM1.

Add-CMSoftwareUpdatePoint -SiteCode "CM1" -SiteSystemServerName "CMSoftwareUpdatePoint.TSQA.Contoso.com"

Parameters

-AnonymousWsusAccess

Add this parameter to indicates that the software update point allows anonymous WSUS access.

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

-ClientConnectionType

Specify the type of the client connection.

Type:ClientConnectionTypes
Accepted values:Intranet, Internet, InternetAndIntranet
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

-ConnectionAccountUserName

Specify the user name for the WSUS server connection account. This account provides authenticated access from the site to the WSUS server. For more information, see Accounts used in Configuration Manager.

Type:String
Aliases:UserName
Position:Named
Default value:None
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

-EnableCloudGateway

Add this parameter to allow cloud management gateway (CMG) traffic to this software update point.

Type:SwitchParameter
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

-InputObject

Specify a site system server object on which to add the software update point role. To get this object, use the Get-CMSiteSystemServer cmdlet.

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

-SiteCode

Specify the three-character code for the site that manages the system role for the software update point.

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 host the software update point role.

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

-UseProxy

Set this parameter to $true to use a proxy server for software updates.

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

-UseProxyForAutoDeploymentRule

When you use the UseProxy parameter, set this parameter to $true to use a proxy server when downloading content with an automatic deployment rule (ADR).

Type:Boolean
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

-WsusIisPort

Specify an integer value for the HTTP port to use for the WSUS server. By default, this value is 8530.

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

-WsusIisSslPort

Specify an integer value for the HTTPS port to use for the WSUS server. By default, this value is 8531.

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

-WsusSsl

Set this parameter to $true to require SSL communication to the WSUS server.

For more information, see Configure a software update point to use TLS/SSL with a PKI certificate.

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

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

IResultObject

Notes

For more information on this return object and its properties, see SMS_SCI_SysResUse server WMI class.