Skip to content

Instantly share code, notes, and snippets.

@mbrownnycnyc
Created March 10, 2016 18:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbrownnycnyc/43dbad3beebcdc483c89 to your computer and use it in GitHub Desktop.
Save mbrownnycnyc/43dbad3beebcdc483c89 to your computer and use it in GitHub Desktop.
change the maximum size of CAB files that WSUS allows to be published
#https://robinvervoort.be/?p=22
[reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration")
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer()
$size = $wsus.GetConfiguration().LocalPublishingMaxCabSize
Write-host "Current Max Size: " $size
$config = $wsus.GetConfiguration()
$config.LocalPublishingMaxCabSize = 1024
$config.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment