Extra commands are required for PowerShell to use those commands
- Install-Module -Name Az.StackHCI
- Connect-AzAccount (then login to Azure via popup)
Then the rest as per documentation
- Install-Module -Name ExchangeOnlineManagement -allowprerelease
- Import-module ExchangeOnlineManag...

