March 2016

PowerShell: scripts to check for missing and installed windows updates

These are two scripts for the Windows PowerShell to check for missing and installed windows updates based on this and this . One checks for the missing Windows updates splatting them for Important, Recommended and Hidden. The other checks for the installed Windows updates splatting them for Important and Recommended. They split the updates in Important and Recommended based on how they are setted in the Windows Update Settings. To exeute them you have to unrestrict the PowerShell permissions: Set-ExecutionPolicy Unrestricted To restrict the PowerShell permissions: Set-ExecutionPolicy Restricted

Windows: batch to simultaneously uninstall multiple KB updates

In Windows to list the installed updates we can use these commands and to uninstal simultaneously multiple updates we can use the batch suggested here : @echo off for /f %%i in ('type c:\list.txt') do ( echo "Uninstalling KB%%i" wusa /uninstall /kb:%%i /quiet /norestart ) echo "Uninstallations Complete." echo.echo "Rebooting..." echo. shutdown /r In the file list.txt we have to indicate only the...