This powershell script will help you export the Azure virtual machines present in your azure subscription to excel. After which it can be used for mainatining across TFS or Sharepoint or other management tasks. 

The entire descrption about this powershell script is present at the below location - http://sanganakauthority.blogspot.in/2015/05/export-to-excel-microsoft-azure-vm-list.html