Installing Azure Az PowerShell cmdlets
The Azure PowerShell (Az) cmdlets must be installed onto the computer running the XIA Configuration Client.
The full details of the installation can be found here
https://docs.microsoft.com/en-us/powershell/azure/install-az-ps
- Start Windows PowerShell as an Administrator
- Set the remote execution policy with the Set-ExecutionPolicy cmdlet.
Set-ExecutionPolicy RemoteSigned -Force; - Install the latest NuGet package provider using the Install-PackageProvider cmdlet.
Install-PackageProvider -Name NuGet -Force; - Allow the PowerShell gallery repository to be trusted with the Set-PSRepository cmdlet.
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted; - Install the latest PowerShellGet module using the Install-Module cmdlet.
Install-Module -Name PowerShellGet -Force; - Install the Azure PowerShell (Az) module using the Install-Module cmdlet.
Install-Module -Name Az -Force -AllowClobber;
NOTE: If you see the following error "WARNING: Unable to download the list of available providers. Check your internet connection" please review this section.
Uninstall AzureRM
- If the machine has the AzureRM modules installed these can be uninstalled with the Uninstall-AzureRm cmdlet.
Uninstall-AzureRm