To use PowerShell to administrate Azure, the Azure PowerShell Module has to be installed.
Requirements
PowerShell 5.1 or higher on Windows
To check the version, with in PowerShell run $PSVersionTable.PSVersion
Install Azure PowerShell Module
Run the following command within PowerShell run as Administrator
Install-Module -Name Az
Sign into Azure
Run the following
Connect-AzAccount