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
(1)
3,634 times
Add to favorites
Windows Azure
5/30/2015
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • 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