Tuesday, September 8, 2015

Reboot Pending configuration item and baseline

For anyone that wants a CI and/or baseline to keep track of computers that are in a pending reboot state, import this file into Configuration Baselines and it will create the following:

  • A baseline Named "Basic Maintenance"
  • A configuration item named "Basic Maintenance - Reboot Pending"
The CI has 4 settings that it checks

The 3 registry values are extremely straightforward as they are using SCCM's built-in functionality for checking the registry.  The script is a one liner that checks WMI and returns a value from there ("True", "False" or "NULL")
Link to download CAB File to create these CIs and the baseline:
Basic Maintenance.cab
Please open each item and look at it before you assign the baseline to any collections.
Never blindly enable stuff that you found on the internet.

No comments:

Post a Comment