{"id":4832,"date":"2022-04-14T12:40:59","date_gmt":"2022-04-14T04:40:59","guid":{"rendered":"https:\/\/www.jameseduard.com\/?p=4832"},"modified":"2022-04-14T12:40:59","modified_gmt":"2022-04-14T04:40:59","slug":"how-to-install-azure-powershell-cmdlets","status":"publish","type":"post","link":"https:\/\/www.jameseduard.com\/?p=4832","title":{"rendered":"How to Install Azure PowerShell Cmdlets"},"content":{"rendered":"\n\n\n<p class=\"wp-block-paragraph\">In this article I\u2019ll guide you How to Install Azure PowerShell Cmdlets and i recommend upgrading PowerShell version 7.X to leverage the new features.<br><br>1. To install the PowerShell cmdlets for Azure, you need to download and install the AZ module.<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">Install-Module -Name Az -AllowClobber -Scope CurrentUser<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2. To install it for all the users,<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">Install-Module -Name Az -AllowClobber -Scope AllUsers<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the AzureRM module is already installed, you first need to uninstall it because both modules AzureRM and AZ cannot reside in the same console and the\u00a0<strong>AzureRm<\/strong>\u00a0module is going to decommission soon. So anyway we need to upgrade it to the latest AZ Module.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. To uninstall the AzureRM module use command,<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">Uninstall-Module AzureRm -Force -Verbose<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I\u2019ll guide you How to Install Azure PowerShell Cmdlets and i recommend upgrading PowerShell version 7.X to leverage the new features. 1. To install the PowerShell cmdlets for Azure, you need to download and install the AZ module. 2. To install it for all the users, If the AzureRM module is already<\/p>\n","protected":false},"author":1,"featured_media":4834,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[99,52,47,73],"tags":[],"class_list":["post-4832","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-devops","category-how-tos","category-powershell"],"_links":{"self":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/4832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4832"}],"version-history":[{"count":0,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/4832\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}