Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/40/d806441738/htdocs/clickandbuilds/edwardsd/work/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/40/d806441738/htdocs/clickandbuilds/edwardsd/work/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/40/d806441738/htdocs/clickandbuilds/edwardsd/work/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
“Show uptime of multiple computers” – Looking after multiple servers, I wanted to check which have rebooted and require rebooting due to windows updates. In order to interrogate multiple servers I can use the Sysinternals “PSTools”
Multiple Servers: (Output to txt)
- Download PSInfo
- Install PSInfo to a chosen location i.e. c:\windows\system32
- cmd
psinfo uptime \\* c:\ShowSystemUptimesReport.txt |
Uptime = Shows only uptime
\* = checked every pc on the local network
> c:\inventory.txt = Outputs file to this location
Example:
psinfo uptime \\Server-DC1,Server-DC2 > c:\ShowSystemUptimesReport.txt |
Single server: (without tools)
systeminfo | find "System Boot Time:" |