Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $azurelocations = Get-AzureLocation
- $out = @()
- foreach ($location in $azurelocations)
- {
- $VMSizes = $location.VirtualMachineRoleSizes
- $VMSizesStr = $VMSizes -join ', '
- $props = @{
- Name = $location.Name
- VMSizes = $VMSizesStr}
- $out += New-Object PsObject -Property $props
- }
- $out | Format-Table -AutoSize -Wrap Name, VMSizes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement