bcwilhite / PendingReboot

Module to detect Windows OS pending reboots
MIT License
126 stars 26 forks source link

Check CurrentRebootAttempts Registry Key #2

Open wrolisonaflac opened 5 years ago

wrolisonaflac commented 5 years ago

Hi,

Could you please add checking for the following registry key:

HKLM:Software\Microsoft\ServerManager, CurrentRebootAttempts

As per https://docs.microsoft.com/en-us/sccm/core/servers/deploy/install/list-of-prerequisite-checks#pending-system-restart

Thanks,

Will

bcwilhite commented 5 years ago

@wrolisonaflac I'll start work on adding this check, thanks for highlighting it.