Hi Alan,
I recommend reading the following:
List all VNet and Subnets across multiple subscriptions
http://dev.to/roberthstrand/list-all-vnet-and-subnets-across-multiple-subscriptions-4028
Taken from the blog post by Roberth Strand:
Get-AzSubscription | Foreach-Object {
$sub = Set-AzContext -SubscriptionId $_.SubscriptionId
$vnets = Get-AzVirtualNetwork
foreach ($vnet in $vnets) {
[PSCustomObject]@{
Subscription = $sub.Subscription.Name
Name = $vnet.Name
Vnet = $vnet.AddressSpace.AddressPrefixes -join ', '
Subnets = $vnet.Subnets.AddressPrefix -join ', '
}
}
} | Export-Csv -Delimiter ";" -Path "AzureVnet.csv"
The PowerShell script above will get all the subscriptions you have access to and export the VNets from all of the subscriptions.
If this is helpful please accept answer.