Blog post: How to Check for a Pending Reboot in the Registry (Windows)

Hello fellow scripters, I thought I’d just this in here in case it may help someone.

Summary: Learn how to check for a pending reboot the registry on Windows Servers and how to automate it in this tutorial!

https://adamtheautomator.com/pending-reboot-registry-windows