{"id":12625,"date":"2016-08-16T06:00:14","date_gmt":"2016-08-16T13:00:14","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=12625"},"modified":"2016-10-27T10:42:08","modified_gmt":"2016-10-27T17:42:08","slug":"helpuri-v-helpinfouri","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2016\/08\/16\/helpuri-v-helpinfouri\/","title":{"rendered":"HelpUri v. HelpInfoUri"},"content":{"rendered":"<p>Although the names are similar and often confused, these properties are different. If you confuse them, the help for your PowerShell commands and modules won&#8217;t work.<\/p>\n<p>The <strong>HelpUri<\/strong> property stores the URL (http or https) of online help for a command. It&#8217;s a property of commands (cmdlets, functions, workflows). When a user runs <strong>Get-Help -Online<\/strong>, Get-Help opens the default browser to the <strong>HelpUri<\/strong> property value.<\/p>\n<p>The <strong>HelpInfoUri<\/strong> property of modules stores the URL of the online location of the <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/hh852740(v=vs.85).aspx\">HelpInfo XML file<\/a> that enables updatable help for the module.<\/p>\n<p>In fact, a non-null value of <strong>HelpInfoUri<\/strong> indicates that the module supports updatable help. The updatable help CAB files can be stored in the same location (or any online location specified by the <strong>HelpContentUri<\/strong> element in the HelpInfo XML file), but the <strong>HelpInfoUri<\/strong> URL always points to the HelpInfo XML file.<\/p>\n<p><a href=\"http:\/\/info.sapien.com\/index.php\/scripting\/scripting-help\/249-helpuri-v-helpinfouri\" target=\"_blank\">Read the full article in the SAPIEN Information Center&#8230;<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Although the names are similar and often confused, these properties are different. If you confuse them, the help for your PowerShell commands and modules won&#8217;t work. The HelpUri property stores the URL (http or https) of online help for a command. It&#8217;s a property of commands (cmdlets, functions, workflows). When a user runs Get-Help -Online, [&hellip;]<\/p>\n","protected":false},"author":31,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[283,1143,25],"tags":[450,1082,1170,966,1171],"class_list":["post-12625","post","type-post","status-publish","format-standard","hentry","category-howto","category-powershell","category-windows-powershell","tag-help","tag-module-manifest","tag-online-help","tag-powershell-help","tag-updatable-help"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/12625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/31"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=12625"}],"version-history":[{"count":3,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/12625\/revisions"}],"predecessor-version":[{"id":12628,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/12625\/revisions\/12628"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=12625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=12625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=12625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}