StevensNet.com

...Because someone's gotta tell the story...

Blogs

To return to the main Blog List, click Full Blog Listing.

Tags

PowerShell
WSUS

Only selecting English Updates in WSUS (PowerShell)

Friday, May 5, 2017 in Powershell (Views: 1151)
Another question came up, how do I set only English updates using PowerShell in WSUS?

Here is the additional code, piggybacking on yesterday's blog... Also, note the name and port number on WSUS Server (if it is not the localhost)
$wsus = Get-WSUSServer -Name "WSUS1" -PortNumber "8530"
$wsusConfig = $wsus.GetConfiguration()
$wsusConfig.AllUpdateLanguagesEnabled = $false
$wsusConfig.SetEnabledUpdateLanguages("en")

$wsusConfig.Save()


Happy scripting!

 

Related Blogs You May Be Interested In:


To leave a comment, please log in and/or register.