{"id":898,"date":"2013-10-23T00:00:36","date_gmt":"2013-10-22T23:00:36","guid":{"rendered":"http:\/\/www.edwardsd.co.uk\/work\/?p=898"},"modified":"2016-04-23T18:25:47","modified_gmt":"2016-04-23T17:25:47","slug":"checkoutput-uptime-of-multiple-serverssystem-on-the-lan","status":"publish","type":"post","link":"https:\/\/www.edwardsd.co.uk\/work\/2013\/10\/checkoutput-uptime-of-multiple-serverssystem-on-the-lan\/","title":{"rendered":"Show &#8220;system uptime&#8221; single\/multiple servers"},"content":{"rendered":"<p>&#8220;Show uptime of multiple computers&#8221; &#8211;\u00a0Looking after multiple servers, I wanted to check which have rebooted and require rebooting due to windows updates. In order to\u00a0interrogate\u00a0multiple servers I can use the <a title=\"Windows Sysinternals\" href=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\">Sysinternals<\/a> &#8220;PSTools&#8221;<\/p>\n<p><strong>Multiple Servers: (Output to txt)<\/strong><\/p>\n<ol>\n<li>Download <a title=\"PSInfo\" href=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb897550\" target=\"_blank\">PSInfo<\/a><\/li>\n<li>Install PSInfo to a\u00a0chosen\u00a0location i.e. c:\\windows\\system32<\/li>\n<li>cmd<\/li>\n<\/ol>\n<pre lang=\"basic\">psinfo uptime \\\\* c:\\ShowSystemUptimesReport.txt<\/pre>\n<p>Uptime = Shows only uptime<br \/>\n&#92;* = checked every pc on the local network<\/p>\n<blockquote><p>\n  &gt; c:\\inventory.txt = Outputs file to this location\n<\/p><\/blockquote>\n<p>Example:<\/p>\n<pre lang=\"basic\">psinfo uptime \\\\Server-DC1,Server-DC2 &gt; c:\\ShowSystemUptimesReport.txt<\/pre>\n<p><strong>Single server: (without tools)<\/strong><\/p>\n<pre lang=\"basic\">systeminfo | find \"System Boot Time:\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Show uptime of multiple computers&#8221; &#8211;\u00a0Looking after multiple servers, I wanted to check which have rebooted and require rebooting due to windows updates. In order to\u00a0interrogate\u00a0multiple servers I can use the Sysinternals &#8220;PSTools&#8221; Multiple Servers: (Output to txt) Download PSInfo Install PSInfo to a\u00a0chosen\u00a0location i.e. c:\\windows\\system32 cmd psinfo uptime \\\\* c:\\ShowSystemUptimesReport.txt Uptime = Shows only [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[21,10],"tags":[],"class_list":["post-898","post","type-post","status-publish","format-standard","hentry","category-code","category-tools"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pOPt8-eu","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/comments?post=898"}],"version-history":[{"count":1,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/898\/revisions"}],"predecessor-version":[{"id":3107,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/posts\/898\/revisions\/3107"}],"wp:attachment":[{"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/media?parent=898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/categories?post=898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.edwardsd.co.uk\/work\/wp-json\/wp\/v2\/tags?post=898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}