{"id":71972,"date":"2015-07-23T11:59:00","date_gmt":"2015-07-23T11:59:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/2015\/07\/23\/powertip-open-windows-explorer-to-a-location\/"},"modified":"2022-06-21T14:39:37","modified_gmt":"2022-06-21T21:39:37","slug":"powertip-open-windows-explorer-to-a-location","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-open-windows-explorer-to-a-location\/","title":{"rendered":"PowerTip: Open Windows Explorer to a Location"},"content":{"rendered":"<p><b style=\"font-size:12px\">Summary<\/b><span style=\"font-size:12px\">: Easily open the Windows Explorer to a specific location in Windows PowerShell.<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/q-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Question\" \/>\u00a0How can I use Windows PowerShell with the Windows Explorer graphical tool to browse through the files in<br \/>\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0my home directory or documents location?<\/p>\n<p style=\"margin-left:30px\">\n  <img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/a-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Answer\" \/>\u00a0Use the Explorer program name and follow it with the location. For your home directory, use the\u00a0<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<b>$Home<\/b>\u00a0automatic variable:\n<\/p>\n<p style=\"margin-left:150px\">\n  explorer $HOME\n<\/p>\n<p style=\"margin-left:60px\">\n  <strong>Note<\/strong> \u00a0To easily access your documents folder, you can use the variable that I created in\u00a0<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<a href=\"https:\/\/devblogs.microsoft.com\/scripting\/i-have-a-powershell-profilenow-what\/\" target=\"_blank\" rel=\"noopener\">I Have a PowerShell Profile\u2014Now What?<\/a>:\n<\/p>\n<p style=\"margin-left:150px\">\n  Explorer $doc\n<\/p>\n<p style=\"margin-left:30px\">\n  <img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/7610.Dr.ScriptoForTips.jpg\" alt=\" \" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: Easily open the Windows Explorer to a specific location in Windows PowerShell. \u00a0How can I use Windows PowerShell with the Windows Explorer graphical tool to browse through the files in \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0my home directory or documents location? \u00a0Use the Explorer program name and follow it with the location. For your [&hellip;]<\/p>\n","protected":false},"author":596,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[356,3,45],"class_list":["post-71972","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","tag-powertip","tag-scripting-guy","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: Easily open the Windows Explorer to a specific location in Windows PowerShell. \u00a0How can I use Windows PowerShell with the Windows Explorer graphical tool to browse through the files in \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0my home directory or documents location? \u00a0Use the Explorer program name and follow it with the location. For your [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/71972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=71972"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/71972\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=71972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=71972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=71972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}