{"id":68,"date":"2025-10-02T14:47:13","date_gmt":"2025-10-02T12:47:13","guid":{"rendered":"https:\/\/paessens.org\/blog\/?p=68"},"modified":"2026-01-21T08:17:53","modified_gmt":"2026-01-21T07:17:53","slug":"find-out-if-system-when-a-system-has-rebooted","status":"publish","type":"post","link":"https:\/\/paessens.org\/blog\/index.php\/2025\/10\/02\/find-out-if-system-when-a-system-has-rebooted\/","title":{"rendered":"Find out if system when a system has rebooted"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When troubleshooting a Windows Server you can easily found out since when the server is booted by the command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>systeminfo | findstr Boot<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But then you still don&#8217;t know why and by who. The following command in PowerShell helps you with this:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>$EventIDs = 41,1074<br>Get-WinEvent -FilterHashtable @{ LogName='System'; Id=$EventIDs } | ft -AutoSize -Wrap<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This give a list about when the system has rebooted. As long the System Event log has not be cleared out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When troubleshooting a Windows Server you can easily found out since when the server is booted by the command: systeminfo | findstr Boot But then you still don&#8217;t know why and by who. The following command in PowerShell helps you<\/p>\n<p><a href=\"https:\/\/paessens.org\/blog\/index.php\/2025\/10\/02\/find-out-if-system-when-a-system-has-rebooted\/\" class=\"awp-btn awp-btn-secondary awp-btn-bubble\">Continue Reading<span class=\"screen-reader-text\">Find out if system when a system has rebooted<\/span><i class=\"fa fa-arrow-right\"><\/i><span class=\"bubble_effect\"><span class=\"circle top-left\"><\/span><span class=\"circle top-left\"><\/span><span class=\"circle top-left\"><\/span>\t<span class=\"button effect-button\"><\/span><span class=\"circle bottom-right\"><\/span>\t<span class=\"circle bottom-right\"><\/span><span class=\"circle bottom-right\"><\/span><\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[24,23],"class_list":["post-68","post","type-post","status-publish","format-standard","hentry","category-windows","tag-powershell","tag-windows"],"_links":{"self":[{"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=68"}],"version-history":[{"count":1,"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/68\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/paessens.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}