Set-PoshWSUSConfigUpdateFiles

Jul 28, 2015 at 5:02 PM
No matter how I set the variables ($True or $false) in the Set-PoshWSUSConfigUpdateFile command the values never change from $True when I run the Get-PoshWSUSConfigUpdateFiles. How do I go about fixing this?

For example:
PS C:\Windows\System32> Set-PoshWSUSConfigUpdateFile -HostBinariesOnMicrosoftUpdate:$false -DownloadExpressPackages:$true -DownloadUpdateBinariesAsNeeded:$false -GetContentFromMU

PS C:\Windows\System32> Get-PoshWSUSConfigUpdateFiles

HostBinariesOnMicrosoftUpdate DownloadExpressPackages DownloadUpdateBinariesAsNeeded GetContentFromMU

All 4 show True