Link to home
Start Free TrialLog in
Avatar of IT Guy
IT GuyFlag for United States of America

asked on

Command line command to determine if Win 10 has pending reboot

Please provide me with the command line command I can run to determine if Windows 10 has pending/required reboot before further system changes can be made.
ASKER CERTIFIED SOLUTION
Avatar of Sarang Tinguria
Sarang Tinguria
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IT Guy

ASKER

So this has to be done with a PowerShell script it can't be done with a single PowerShell or command line command?
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

I had to Google for it and since I ended up with the same link, I'm guessing Sarang did as well.

I couldn't find anything simpler than the one I posted.  Maybe someone else will have other ideas.