Skip to content

Instantly share code, notes, and snippets.

@okand
okand / pendingreboot.ps1
Last active September 16, 2016 16:23
Check_MK local check for pending windows reboots
<#
.DESCRIPTION
Loads the Get-PendingReboot cmdlet/module/whatever, runs it and
prints a warning in Check_MK local check format if RebootPending is true.
.USAGE
Put the powershell script from the link below somewhere and edit the first
line after this comment block ends to point to it.
.LINKS

Keybase proof

I hereby claim:

  • I am okand on github.
  • I am okand (https://keybase.io/okand) on keybase.
  • I have a public key whose fingerprint is 20F8 6D03 DB9A B689 5CE4 5261 A16F 074E ED7F 34EA

To claim this, I am signing this object: