{"id":4343,"date":"2017-12-04T17:00:50","date_gmt":"2017-12-04T16:00:50","guid":{"rendered":"https:\/\/www.razumny.no\/?p=4343"},"modified":"2017-11-01T10:34:12","modified_gmt":"2017-11-01T09:34:12","slug":"windows-quickly-find-system-information","status":"publish","type":"post","link":"https:\/\/www.razumny.no\/?p=4343","title":{"rendered":"Windows: Quickly find system information"},"content":{"rendered":"<p>For a number of reasons, I often find myself needing to find information about a system that can be somewhat difficult to source, such as when it was last rebooted, or when the system was installed originally. Luckily, there&#8217;s a tool to help us out, called System Information. A command line utility, <code>systeminfo.exe<\/code>, offers a lot of information. This is both good and bad. It is good, because there are lots of things to be found. It is bad, because it can be hard to find the specific thing you are looking for. Enter the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Vertical_bar#Pipe\">Pipe<\/a>. By adding a vertical bar and a search query, we can find the exact information we are looking for without having to wade through irrelevant information.<\/p>\n<p>The basic use of the tool is simply to open the command line and enter <code>systeminfo<\/code>. Let&#8217;s look at a few use cases where the pipe comes in handy. Let&#8217;s start with the system boot time. By simply adding a pipe and a query, we can find that information easily. The full command looks like this*: <code>systeminfo |\u00a0find \"System Boot\u00a0Time\"<\/code>, and the result looks like this:<\/p>\n<p><a href=\"https:\/\/www.razumny.no\/?attachment_id=4353\" rel=\"attachment wp-att-4353\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4353 size-full\" src=\"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Pipe1.jpg?resize=448%2C109&#038;ssl=1\" alt=\"\" width=\"448\" height=\"109\" srcset=\"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Pipe1.jpg?w=448&amp;ssl=1 448w, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Pipe1.jpg?resize=300%2C73&amp;ssl=1 300w\" sizes=\"auto, (max-width: 448px) 100vw, 448px\" \/><\/a><\/p>\n<p>If we want to find the install date of the system, the command looks like this*:\u00a0<code>systeminfo |\u00a0find \"Original Install Date\"<\/code>, with results as follows:<\/p>\n<p><a href=\"https:\/\/www.razumny.no\/?attachment_id=4354\" rel=\"attachment wp-att-4354\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4354\" src=\"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Pipe2.jpg?resize=486%2C111&#038;ssl=1\" alt=\"\" width=\"486\" height=\"111\" srcset=\"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Pipe2.jpg?w=486&amp;ssl=1 486w, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/Pipe2.jpg?resize=300%2C69&amp;ssl=1 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/a><\/p>\n<p>There are any number of other things you might find; these two examples happen to have been most relevant and useful to me.<\/p>\n<hr \/>\n<p>*: Different versions of Windows might have different specific commands. In order to find the specific commands for your version, refer to the full list available from the un-piped command.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a number of reasons, I often find myself needing to find information about a system that can be somewhat difficult to source, such as when it was last rebooted, or when the system was installed originally. Luckily, there&#8217;s a tool to help us out, called System Information. A command line utility, systeminfo.exe, offers a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[615,380,677,528],"tags":[1094,1093,1092],"class_list":["post-4343","post","type-post","status-publish","format-standard","hentry","category-how-to-2","category-tech-support","category-tips-tricks","category-tools","tag-cmd","tag-pipe","tag-systeminfo"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2ukSU-183","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":184,"url":"https:\/\/www.razumny.no\/?p=184","url_meta":{"origin":4343,"position":0},"title":"Resolving problems opening Word documents from Windows Explorer","author":"Aleksander Nordgarden-R\u00f8dner","date":"17\/09\/2009","format":false,"excerpt":"If you have a problem opening Word documents from the Windows Explorer, the problem probably lies in how the document files are registered with the operating system. The first thing to try in correcting the problem is to unregister and reregister Word with Windows. From the command line, use the\u2026","rel":"","context":"In &quot;Microsoft Office&quot;","block_context":{"text":"Microsoft Office","link":"https:\/\/www.razumny.no\/?cat=431"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4687,"url":"https:\/\/www.razumny.no\/?p=4687","url_meta":{"origin":4343,"position":1},"title":"Batch replace file extension of all files in a folder","author":"Aleksander Nordgarden-R\u00f8dner","date":"30\/07\/2018","format":false,"excerpt":"From time to time, I need to quickly change the file extension of all files in a folder. While there are tools that can do that for you (one of which I've written about previously), if you need to append the same file extension to all files in a folder,\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/rename.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5265,"url":"https:\/\/www.razumny.no\/?p=5265","url_meta":{"origin":4343,"position":2},"title":"Building a script to find all members of a given group","author":"Aleksander Nordgarden-R\u00f8dner","date":"09\/09\/2019","format":false,"excerpt":"Some time ago, I was asked to provide a list of everyone with access to a specific system. After communicating with the client, it transpired that they were particularly interested in knowing who were the members of a set of Active Directory groups. While this can be done manually, I\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":81,"url":"https:\/\/www.razumny.no\/?p=81","url_meta":{"origin":4343,"position":3},"title":"Running commands and programs on startup in Ubuntu","author":"Aleksander Nordgarden-R\u00f8dner","date":"10\/09\/2008","format":false,"excerpt":"In a previous post, I showed you how to disable the Caps Lock key in Ubuntu. The problem with this method is of course that it only lasts for the duration of your current session. To resolve this problem, you need to have the command run automatically at startup. Here's\u2026","rel":"","context":"In &quot;Ubuntu&quot;","block_context":{"text":"Ubuntu","link":"https:\/\/www.razumny.no\/?cat=110"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5404,"url":"https:\/\/www.razumny.no\/?p=5404","url_meta":{"origin":4343,"position":4},"title":"PowerShell: Find all users in a specific OU","author":"Aleksander Nordgarden-R\u00f8dner","date":"24\/02\/2020","format":false,"excerpt":"One of my customers asked for an overview of the UPNs of all users in a specific OU. Having become fairly familiar with the Get-ADUser command, I decided to see if I couldn't make it do this, too. I knew that I would need to filter the results of the\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/www.razumny.no\/?cat=820"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5297,"url":"https:\/\/www.razumny.no\/?p=5297","url_meta":{"origin":4343,"position":5},"title":"Quickly check user logon time","author":"Aleksander Nordgarden-R\u00f8dner","date":"21\/10\/2019","format":false,"excerpt":"With surprising regularity, I need to check when a user last logged in. I recently found a command that returns this information; quser. Using it is simple enough; open a command prompt, enter the command, and hit return: Screenshot of a command line showing the results of the \"quser\" command\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-5.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-5.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/image-5.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/4343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4343"}],"version-history":[{"count":4,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/4343\/revisions"}],"predecessor-version":[{"id":4357,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/4343\/revisions\/4357"}],"wp:attachment":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}