$ 0 0 Hi there,Thanks for posting this script! Just one small suggestion in keeping with PowerShell verb-noun syntax, rename function to Test-PendingReboot.Cheers, Seán