I'm trying to automate WSUS with powershell, however to do this I need to know what version is installed. How do I find this information?

The server is using Windows Server 2012 R2 Standard. Thanks.


You can use the following code to get the version of WSUS in PowerShell:

$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer(“dc1”,$False)
  • I can seem to get this to work on Server 2016. – htm11h May 18 '18 at 20:18

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.