3

I manage a server windows 2012 which was not updated for approximately 2 years, to estimate the impact for a global update, I would like to know how many updates and which ones will be installed next time I activate windows update, and the size of the global updates that will be downloaded.

How can do it ? (in preference, by powershell because of a core server)

3

Install the Windows Update PowerShell Module, then run Get-WUList, it will take a while but will show you the required updates with their size. You can then use Get-WUInstall to download and install them.

| improve this answer | |
  • Thanks, it seems to be what I need. But have you ever use it ? I unzipped it in %WINDIR%\System32\WindowsPowerShell\v1.0\Modules, launch import-module PSWindowsUpdate, execute Get-WUList, and I get the prompt without any return. – VinceCore Mar 18 '15 at 13:15
  • I use it every month, are you running it elevated? – Peter Hahndorf Mar 18 '15 at 14:05
  • I just try elevated, same result (..no result :( ) – VinceCore Mar 18 '15 at 14:36
  • Try Get-WULIST -verbose, -debuger or -IsInstalled or maybe -MicrosoftUpdate. – Peter Hahndorf Mar 18 '15 at 15:39
  • It works... be careful to not launch the script from %WINDIR%\System32\WindowsPowerShell\v1.0\Modules.... – VinceCore Mar 18 '15 at 16:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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