Get last reboot time for multiple computers/servers

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?

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?

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.

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.

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.