{"id":76721,"date":"2016-02-05T11:59:06","date_gmt":"2016-02-05T11:59:06","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/?p=76721"},"modified":"2019-02-18T09:19:59","modified_gmt":"2019-02-18T16:19:59","slug":"powertip-update-a-powershell-module","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-update-a-powershell-module\/","title":{"rendered":"PowerTip: Update a PowerShell module"},"content":{"rendered":"<p><strong>Summary<\/strong>: Learn how to update an installed Windows PowerShell module.<\/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\" \/>\u00a0I used <strong>Install-Module<\/strong> to install a Windows PowerShell module, but how can I update it?<\/p>\n<p style=\"padding-left: 30px\"><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 <strong>Update-Module<\/strong> cmdlet, for example:<\/p>\n<p style=\"padding-left: 90px\"><code>Update-Module powershellise-preview<\/code><\/p>\n<p style=\"padding-left: 60px\">Here are a couple of other examples:<\/p>\n<p style=\"padding-left: 90px\"><code>find-module *ise-preview | Update-Module\nUpdate-Module *ise-preview<\/code><\/p>\n<p style=\"padding-left: 30px\"><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: Learn how to update an installed Windows PowerShell module. \u00a0I used Install-Module to install a Windows PowerShell module, but how can I update it? \u00a0Use the Update-Module cmdlet, for example: Update-Module powershellise-preview Here are a couple of other examples: find-module *ise-preview | Update-Module Update-Module *ise-preview<\/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":[568],"tags":[356,3,45],"class_list":["post-76721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hey-scripting-guy","tag-powertip","tag-scripting-guy","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: Learn how to update an installed Windows PowerShell module. \u00a0I used Install-Module to install a Windows PowerShell module, but how can I update it? \u00a0Use the Update-Module cmdlet, for example: Update-Module powershellise-preview Here are a couple of other examples: find-module *ise-preview | Update-Module Update-Module *ise-preview<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/76721","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=76721"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/76721\/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=76721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=76721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=76721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}