Skip to content

Instantly share code, notes, and snippets.

@pkirch
Created February 12, 2015 10:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkirch/aa18a3c29c9934cd75be to your computer and use it in GitHub Desktop.
Save pkirch/aa18a3c29c9934cd75be to your computer and use it in GitHub Desktop.
This sample show an example formatting the output of Get-AzureLocation.
Get-AzureLocation | Format-Table -Property Name, AvailableServices -AutoSize
<# Output
Name AvailableServices
---- -----------------
West Europe {Compute, Storage, PersistentVMRole, HighMemory}
North Europe {Compute, Storage, PersistentVMRole, HighMemory}
East US 2 {Compute, Storage, PersistentVMRole, HighMemory}
Central US {Compute, Storage, PersistentVMRole, HighMemory}
South Central US {Compute, Storage, PersistentVMRole, HighMemory}
West US {Compute, Storage, PersistentVMRole, HighMemory}
North Central US {Compute, Storage, PersistentVMRole, HighMemory}
East US {Compute, Storage, PersistentVMRole, HighMemory}
Southeast Asia {Compute, Storage, PersistentVMRole, HighMemory}
East Asia {Compute, Storage, PersistentVMRole, HighMemory}
Japan West {Compute, Storage, PersistentVMRole, HighMemory}
Japan East {Compute, Storage, PersistentVMRole, HighMemory}
Brazil South {Compute, Storage, PersistentVMRole, HighMemory}
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment