{"id":1030,"date":"2020-04-20T08:00:09","date_gmt":"2020-04-20T14:00:09","guid":{"rendered":"https:\/\/practicalpowershell.com\/?p=1030"},"modified":"2020-06-07T16:36:55","modified_gmt":"2020-06-07T22:36:55","slug":"help-powershell","status":"publish","type":"post","link":"https:\/\/practicalpowershell.com\/help-powershell\/","title":{"rendered":"Help &#8211; PowerShell"},"content":{"rendered":"<p>Dealing with PowerShell on a daily basis, I query the help for a lot of cmdlets every day.  This mean looking at syntax, examples, parameters and switches for a cmdlet.  There is quite a lot that can be revealed from good help in PowerShell.<BR><br \/>\nDid you know that you can type in &#8216;Help&#8217; to get more information on PowerShell&#8217;s help functionality? By typing in this one cmdlet, we can reveal a lot of relevant information about help.<BR><br \/>\n<strong>Help<BR><\/strong><br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?resize=421%2C1024&#038;ssl=1\" alt=\"\" width=\"421\" height=\"1024\" class=\"aligncenter size-large wp-image-1031\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?resize=421%2C1024&amp;ssl=1 421w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?resize=123%2C300&amp;ssl=1 123w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?resize=632%2C1536&amp;ssl=1 632w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?resize=300%2C729&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?resize=600%2C1459&amp;ssl=1 600w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?w=658&amp;ssl=1 658w\" sizes=\"auto, (max-width: 421px) 100vw, 421px\" \/><\/a><br \/>\nWhat we see is that there are quite a few things that can be revealed with this.  We learn that we can update the help topics using Update-Help.  We do this because sometime the help information for PowerShell has been updated.  In fact on a default install of PowerShell 7.0, I noticed that help for some cmdlets seemed a bit off, so I just ran a &#8216;quick&#8217; Update-Help to download the latest information from Microsoft. This cleared up the missing help information and I was able to find what I needed.<BR><br \/>\n<strong>Update Help (visual)<\/strong><br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-20-Help-02.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-20-Help-02.jpg?resize=640%2C160&#038;ssl=1\" alt=\"\" width=\"640\" height=\"160\" class=\"aligncenter size-full wp-image-1032\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-20-Help-02.jpg?w=643&amp;ssl=1 643w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-20-Help-02.jpg?resize=300%2C75&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-20-Help-02.jpg?resize=600%2C150&amp;ssl=1 600w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nThis update will cycle thorough all the modules to make sure the help for that module is up to date. Depending on your machine Internet speed, etc. this may take some time to complete.  We also see that there are different techniques for getting help for a  particular cmdlet.  We have <strong>Option (1):<\/strong><BR><br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\nGet-AzVM -Q<br \/>\n[\/sourcecode]<br \/>\n<strong>Option 2:<\/strong><br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\nGet-Help Get-AzVM<br \/>\n[\/sourcecode]<br \/>\nEither will provide the basic help for a cmdlet.  Always use &#8216;Get-Help <cmdlet> -Full&#8217; for complete help information.  There is a third option, which displays the help for a cmdlet in page by page format:<br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\nHelp Get-AzVM<br \/>\n[\/sourcecode]<br \/>\nThis method displays the entire help, as if we added the &#8216;-Full&#8217; switch to Get-Help for a cmdlet.<BR><br \/>\nLastly, we can get the online Microsoft Docs version of help if we need that as well:<br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\nGet-Help Get-AzVM -Online<br \/>\n[\/sourcecode]<br \/>\nCaveat here is that not all cmdlets have a page set up for this, or the link provided is broken.  So YMMV.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dealing with PowerShell on a daily basis, I query the help for a lot of cmdlets every day. This mean looking at syntax, examples, parameters and switches for a cmdlet. There is quite a lot that can be revealed from good help in PowerShell. Did you know that you can type in &#8216;Help&#8217; to get [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[22],"tags":[],"class_list":["post-1030","post","type-post","status-publish","format-standard","hentry","category-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Help - PowerShell - Practical PowerShell<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/practicalpowershell.com\/help-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Help - PowerShell - Practical PowerShell\" \/>\n<meta property=\"og:description\" content=\"Dealing with PowerShell on a daily basis, I query the help for a lot of cmdlets every day. This mean looking at syntax, examples, parameters and switches for a cmdlet. There is quite a lot that can be revealed from good help in PowerShell. Did you know that you can type in &#8216;Help&#8217; to get [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/practicalpowershell.com\/help-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"Practical PowerShell\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-20T14:00:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-07T22:36:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help-421x1024.jpg\" \/>\n<meta name=\"author\" content=\"damian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"damian\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/\"},\"author\":{\"name\":\"damian\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\"},\"headline\":\"Help &#8211; PowerShell\",\"datePublished\":\"2020-04-20T14:00:09+00:00\",\"dateModified\":\"2020-06-07T22:36:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/\"},\"wordCount\":344,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\"},\"image\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/2020-4-20Help-421x1024.jpg\",\"articleSection\":[\"PowerShell\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/\",\"url\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/\",\"name\":\"Help - PowerShell - Practical PowerShell\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/2020-4-20Help-421x1024.jpg\",\"datePublished\":\"2020-04-20T14:00:09+00:00\",\"dateModified\":\"2020-06-07T22:36:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/2020-4-20Help.jpg?fit=658%2C1600&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/2020-4-20Help.jpg?fit=658%2C1600&ssl=1\",\"width\":658,\"height\":1600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/help-powershell\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/practicalpowershell.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help &#8211; PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#website\",\"url\":\"https:\\\/\\\/practicalpowershell.com\\\/\",\"name\":\"Practical PowerShell\",\"description\":\"PowerShell books written by experts\",\"publisher\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/practicalpowershell.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\",\"name\":\"damian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\",\"caption\":\"damian\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Help - PowerShell - Practical PowerShell","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/practicalpowershell.com\/help-powershell\/","og_locale":"en_US","og_type":"article","og_title":"Help - PowerShell - Practical PowerShell","og_description":"Dealing with PowerShell on a daily basis, I query the help for a lot of cmdlets every day. This mean looking at syntax, examples, parameters and switches for a cmdlet. There is quite a lot that can be revealed from good help in PowerShell. Did you know that you can type in &#8216;Help&#8217; to get [&hellip;]","og_url":"https:\/\/practicalpowershell.com\/help-powershell\/","og_site_name":"Practical PowerShell","article_published_time":"2020-04-20T14:00:09+00:00","article_modified_time":"2020-06-07T22:36:55+00:00","og_image":[{"url":"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help-421x1024.jpg","type":"","width":"","height":""}],"author":"damian","twitter_card":"summary_large_image","twitter_misc":{"Written by":"damian","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/practicalpowershell.com\/help-powershell\/#article","isPartOf":{"@id":"https:\/\/practicalpowershell.com\/help-powershell\/"},"author":{"name":"damian","@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb"},"headline":"Help &#8211; PowerShell","datePublished":"2020-04-20T14:00:09+00:00","dateModified":"2020-06-07T22:36:55+00:00","mainEntityOfPage":{"@id":"https:\/\/practicalpowershell.com\/help-powershell\/"},"wordCount":344,"commentCount":0,"publisher":{"@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb"},"image":{"@id":"https:\/\/practicalpowershell.com\/help-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help-421x1024.jpg","articleSection":["PowerShell"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/practicalpowershell.com\/help-powershell\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/practicalpowershell.com\/help-powershell\/","url":"https:\/\/practicalpowershell.com\/help-powershell\/","name":"Help - PowerShell - Practical PowerShell","isPartOf":{"@id":"https:\/\/practicalpowershell.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/practicalpowershell.com\/help-powershell\/#primaryimage"},"image":{"@id":"https:\/\/practicalpowershell.com\/help-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help-421x1024.jpg","datePublished":"2020-04-20T14:00:09+00:00","dateModified":"2020-06-07T22:36:55+00:00","breadcrumb":{"@id":"https:\/\/practicalpowershell.com\/help-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/practicalpowershell.com\/help-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/practicalpowershell.com\/help-powershell\/#primaryimage","url":"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?fit=658%2C1600&ssl=1","contentUrl":"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-4-20Help.jpg?fit=658%2C1600&ssl=1","width":658,"height":1600},{"@type":"BreadcrumbList","@id":"https:\/\/practicalpowershell.com\/help-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/practicalpowershell.com\/"},{"@type":"ListItem","position":2,"name":"Help &#8211; PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/practicalpowershell.com\/#website","url":"https:\/\/practicalpowershell.com\/","name":"Practical PowerShell","description":"PowerShell books written by experts","publisher":{"@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/practicalpowershell.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb","name":"damian","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g","caption":"damian"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g"}}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts\/1030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/comments?post=1030"}],"version-history":[{"count":1,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts\/1030\/revisions"}],"predecessor-version":[{"id":1033,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts\/1030\/revisions\/1033"}],"wp:attachment":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/media?parent=1030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/categories?post=1030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/tags?post=1030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}