bcwilhite / PendingReboot

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

powershell 64 bit vs powershell x86 return different results #11

Open skhalsa10 opened 4 years ago

skhalsa10 commented 4 years ago

Hello,

First thanks for this tool it is helpful. I may not be able to use it though. I am not sure if this is by design or not, but AFTER windows update on a windows server 2016 enterprise when I run Test-PendingReboot I get different results when I run in PS x86 compared to the 64bit version. the PS x86 is wrong.

bcwilhite commented 4 years ago

That's interesting... I'll have a look and report back.

gerdesj commented 4 years ago

I've just run it at eight servers all 2016 or 2012r2 from a 2016 box. Both 32 and 64 bit PS show exactly the same result

I ran this, where $computers is a list of strings:

Test-PendingReboot -SkipConfigurationManagerClientCheck -SkipPendingFileRenameOperationsCheck -ComputerName $computers -Detailed

skhalsa10 commented 3 years ago

Thanks for these tests! I will revisit my problem. :)