tjrobinson.net

Azure PowerShell login

April 2018

if ([string]::IsNullOrEmpty($(Get-AzureRmContext).Account)) {Login-AzureRmAccount}