Set-CMSiteSoftwareUpdateBasedClientInstallation
Applies To: System Center 2012 Configuration Manager SP1
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Set-CMSiteSoftwareUpdateBasedClientInstallation
Changes a client installation that is based on a software update point.
Syntax
Parameter Set: SearchBySiteCodeMandatory
Set-CMSiteSoftwareUpdateBasedClientInstallation -EnableWsus <Boolean> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByNameMandatory
Set-CMSiteSoftwareUpdateBasedClientInstallation -EnableWsus <Boolean> -SiteName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SearchByValueMandatory
Set-CMSiteSoftwareUpdateBasedClientInstallation -EnableWsus <Boolean> -InputObject <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Set-CMSiteSoftwareUpdateBasedClientInstallation cmdlet changes a software update for Microsoft System Center 2012 Configuration Manager that is based on a software update point. This type of installation uses software update points in System Center 2012 Configuration Manager to deploy and update clients.
Parameters
-EnableWsus<Boolean>
Indicates whether Configuration Manager enables Windows Software Update Services.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-InputObject<IResultObject>
Specifies an object containing an installation that is based on a software update point. To obtain this object, use the Get-CMSiteSoftwareUpdateBasedClientInstallation cmdlet.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SiteCode<String>
Specifies a site code for a Configuration Manager site.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SiteName<String>
Specifies a site name for a Configuration Manager site.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before executing the command.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
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.
Examples
Example 1: Update software update based client installation using a site code
This command changes the site that has code Cm02 to enable Windows Software Update Services.
PS C:\> Set-CMSiteSoftwareUpdateBasedClientInstallation -EnableWsus True -SiteCode "Cm02"