Created
March 10, 2016 18:12
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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