Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

List Boot time of several computers

List Boot time of several computers

I have this command below that displays the date and time a computer was rebooted.

Systeminfo /s ComputerName | Find "Boot"

it works fine, however I can do this just for one computer name.

I need the same query to read from a Text file that has many computer names.

How can I do that ?

Thank you
Avatar of Wayne88
Wayne88
Flag of Canada image

You can use Powershell to get the last boot time of remote computers in a loop and append any number of machines to a text file.

Here is how: http://www.enterprisedaddy.com/2015/04/powershell-get-last-boot-time-of-remote-computers/
Avatar of jskfan

ASKER

do not see it...
can you just paste,here,  the command that applies for multiple computers as requested ?
ASKER CERTIFIED SOLUTION
Avatar of Wayne88
Wayne88
Flag of Canada 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
Avatar of jskfan

ASKER

Thanks-- I will check it later