Ever wanted to get a list of all Azure Resources, Virtual Machines or Web Apps (Web Sites) that you have in Azure across both ASM (Classic) and ARM (Azure Resource Manager)? Now you can get a report fully automatically using a PowerShell script I whipped up. The script exports all information to .CSV files. The other good thing is that this script will gradually work its way through all Azure subscriptions that the account has access to.
First thing you need to do is logon to Azure (at the top of the script), this part can be automatic if you are using an organisational account or work/school account, otherwise you can manually use a Microsoft Account.