Export to excel Azure Virtual Machine list

This powershell script will help you export the Azure virtual machines present in your azure subscription to excel or CSV.

4 Star
3,806 times
Add to favorites
Windows Azure
E-mail Twitter del.icio.us Digg Facebook
  • Script is not running properly
    1 Posts | Last post April 16, 2019
    • Hi Kunal,
      The script is not running properly getting following error
      select-azuresubscription : The subscription name MySubscription doesn't exist.
      Parameter name: name
      At line:1 char:1
      + select-azuresubscription -SubscriptionName "MySubscription ...
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : CloseError: (:) [Select-AzureSubscription], ArgumentException
          + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Profile.SelectAzureSubscriptionCommand