Install Security Updates and Restart PC A PowerShell script designed to check for security updates, install them, and restart the computer afterward. To run, simply execute the program in Windows PowerShell. Congrats! You're all up to date!