Author Posts

September 7, 2015 at 12:31 am

I saw this on the net how to get the last reboot time for one machine.

But how do I do this if I have a list of computers on an xml file and I want each last reboot time for each of them?

September 7, 2015 at 2:19 am

Please post an excerpt of the XML as Gist but renamed your internal machine names to something generic like (machine001, machine002).

Have you searched for "wmi lastbootuptime powershell multiple" on the web?
PowerShell : Uptime of Multiple Servers

Most of the examples you will find are using a simple text / CSV file as input but you can make it work with an XML as well. PowerShell has great support to read XMLs.

September 7, 2015 at 2:55 am

Much appreciated thanks

I am trying to come up with ideas. example what do you think organisations want other than reboot time? or disk space? I want to add info on servers...anything that might be useful to the system administrator.

September 7, 2015 at 3:59 am

I think make and model of the machine, serial number, CPU counts (sockets and logical processors) and model, RAM, disk space (especially tracking growth), IP information, OS version plus service pack, domain/workgroup membership, OS install date, local admin group membership and many more are useful for system administrators.