?
Solved

Servers Requiring Reboot

Posted on 2014-04-28
6
Medium Priority
?
212 Views
Last Modified: 2014-05-13
Hi Guys,

I need to find out all machines that require a reboot, whats the best way of getting this information, we have sccm and scom 2012, I don't know if they would help.

Regards,
K
0
Comment
Question by:Kay
5 Comments
 
LVL 24

Expert Comment

by:yo_bee
ID: 40028336
Are you using SCCM to push your updates?
If so your reports have one already under windows updates > deployment status
0
 
LVL 37

Expert Comment

by:bbao
ID: 40028553
how do you define a server requiring to boot?
0
 

Author Comment

by:Kay
ID: 40029034
I've updates the tools using powercli, I used the command get-vm | update-tools -noreboot
0
 
LVL 24

Expert Comment

by:yo_bee
ID: 40029344
Here is a Powershell Function I found.
I have not tested it, but I think if you go through the script you will find useful information that might get you the results you are looking for.

http://gallery.technet.microsoft.com/scriptcenter/Get-PendingReboot-Query-bdb79542
0
 
LVL 29

Accepted Solution

by:
Dan McFadden earned 2000 total points
ID: 40049815
Since you have SCCM, you can query the db for pending reboots.

see article:  http://www.systemcentercentral.com/sccm-collection-query-computers-with-pending-restart-or-other-update-enforcement-states/

Dan
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question