Hi,
I am hoping to get some guidance for a script I need to create. I need the script to grab a list of the VM's on any given Azure Subscription, then provide the detailed information outputted to a txt file.
I understand how to pull a quick list of all VM's and I understand how i can individually get data on a VM, but I cant quite figure out how to do this as one script. Ideally I would like to do the following...
1. Initiate Get-AzureVM
2. Grab each VM and list its detailed information (same info given as if I used "Get-AzureVM 'xxxx' ")
3. Output to text file
Any help would be greatly appreciated!