bcwilhite / PendingReboot

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

Credential window popup on PowerShell 2 and 3 #3

Open greatquux opened 5 years ago

greatquux commented 5 years ago

Hello - it seems on PowerShell 2 and 3 (haven't tested 4) that we get a popup asking for credentials even if we don't specify that parameter (just the Test-PendingReboot function without any parameters). I've commented out the parameter to bypass this, just wondering if you knew about it or if any other fix was available.

bcwilhite commented 5 years ago

I wasn't aware, I'll have a look, thanks for opening an issue.