Set-CMSoftwareUpdateBasedClientInstallation

Set-CMSoftwareUpdateBasedClientInstallation

Modifies a client installation on a Configuration Manager software update point.

Syntax

Parameter Set: SearchBySiteCodeMandatory
Set-CMSoftwareUpdateBasedClientInstallation -EnableWsus <Boolean> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatory
Set-CMSoftwareUpdateBasedClientInstallation -EnableWsus <Boolean> -Name <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Set-CMSoftwareUpdateBasedClientInstallation cmdlet modifies a client installation hosted on a software update point for Microsoft System Center 2012 Configuration Manager.

Parameters

-EnableWsus<Boolean>

Indicates whether to enable Windows Server Update Service (WSUS).

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies a name in Configuration Manager.

Aliases

SiteName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies the Configuration Manager site for which the client installation method is configured.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

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 a client installation to enable WSUS

This command enables WSUS for a client installation.

PS C:\> Set-CMSoftwareUpdateBasedClientInstallation -EnableWSUS $True -SiteCode "CM1"

Get-CMSoftwareUpdateBasedClientInstallation