Prepare your Windows client for the PowerShell deployment.
Prerequisites
Ensure that you are running this from a Windows 10 machine with access to the Internet.
Note: Other Windows operating systems may also be supported but these instructions are for Windows 10.
Procedure
-
Open the PowerShell command window with administrative rights.
-
Run the command.
Version Command PowerShell 5 Install-Module -Name AzureRM -ForcePowerShell 7 Install-Module -Name Az -Force -
To log in to your Azure environment, run the command.
Version Command PowerShell 5 connect-AzurermAccountPowerShell 7 connect-AzAccount
Was this page helpful?