Get Azure VM Detail by PowerShell
问题 I am trying to run Get-AzureVM PowerShell command, it is running fine but not return any output. Also tried in following flavor but still blank result any idea? Get-AzureVM -Name "vmname" |Select-Object name,instancesize,location 回答1: You should call Select-AzureSubscription "subscription name" first. It likely is defaulting to a subscription that doesn't have any virtual machines in it. To view your current subscription names call: Get-AzureSubscription | select SubscriptionName 回答2: