{"id":237,"date":"2018-11-06T13:43:11","date_gmt":"2018-11-06T12:43:11","guid":{"rendered":"http:\/\/www.ritter.cc\/?page_id=237"},"modified":"2018-11-06T13:43:11","modified_gmt":"2018-11-06T12:43:11","slug":"windows-bootzeit-auslesen","status":"publish","type":"page","link":"https:\/\/www.ritter.cc\/?page_id=237","title":{"rendered":"Windows Bootzeit auslesen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hierzu kann Systeminfo verwendet werden, dass an der Kommandozeile alle m\u00f6glichen Systeminformationen ausgibt &#8211; auch die Systemstartzeit. Das gro\u00dfartige an diesem Tool ist aber, dass es die Ausgabe auch ins csv-Format umwandeln kann, indem man den Parameter -FO aufruft. Die gesamten Informationen werden dann ins csv-Format umgewandelt, mit dem Powershell wiederum ganz hervorragend umgehen kann. Und so kann man dann ganz hervorragend die Daten von systeminfo direkt in Powershell weiterverarbeiten:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">systeminfo \/FO csv | convertfrom-csv<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das Ergebnis sieht so aus:&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hostname : SERVER<br>Betriebssystemname : Microsoft Windows Server 2016 Standard\u00a0<br>Betriebssystemversion : 10.0.14393 Nicht zutreffend Build 14393<br>Betriebssystemhersteller : Microsoft Corporation<br>Betriebssystemkonfiguration : Mitgliedsserver<br>Betriebssystem-Buildtyp : Multiprocessor Free<br>Registrierter Benutzer :\u00a0<br>Registrierte Organisation :\u00a0<br>Produkt-ID :\u00a0<br>Urspr\u00fcngliches Installationsdatum : 25.02.2016, 16:47:17<br>Systemstartzeit : 19.05.2016, 09:17:11<br>[&#8230;]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Und nat\u00fcrlich k\u00f6nnen wir jetzt auch das machen:&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">systeminfo \/FO csv | convertfrom-csv | Select-Object Systemstartzeit<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Problem : Systeminfo ist lokalisiert, der obige Befehl w\u00e4re auf einem englischen System also ohne Anpassung nicht lauff\u00e4hig.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hierzu kann Systeminfo verwendet werden, dass an der Kommandozeile alle m\u00f6glichen Systeminformationen ausgibt &#8211; auch die Systemstartzeit. Das gro\u00dfartige an<\/p>\n<p><a href=\"https:\/\/www.ritter.cc\/?page_id=237\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">Windows Bootzeit auslesen<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":123,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-237","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ritter.cc\/index.php?rest_route=\/wp\/v2\/pages\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ritter.cc\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ritter.cc\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ritter.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ritter.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=237"}],"version-history":[{"count":1,"href":"https:\/\/www.ritter.cc\/index.php?rest_route=\/wp\/v2\/pages\/237\/revisions"}],"predecessor-version":[{"id":239,"href":"https:\/\/www.ritter.cc\/index.php?rest_route=\/wp\/v2\/pages\/237\/revisions\/239"}],"up":[{"embeddable":true,"href":"https:\/\/www.ritter.cc\/index.php?rest_route=\/wp\/v2\/pages\/123"}],"wp:attachment":[{"href":"https:\/\/www.ritter.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}