Resolve error like “The term ‘Get-AzureRmEnvironment’ is not recognized”