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

  1. Open the PowerShell command window with administrative rights.
  2. Run the command.
    Version Command
    PowerShell 5
    Install-Module -Name AzureRM -Force
    PowerShell 7
    Install-Module -Name Az -Force
  3. To log in to your Azure environment, run the command.
    Version Command
    PowerShell 5
    connect-AzurermAccount
    PowerShell 7
    connect-AzAccount