Created
February 4, 2015 13:32
-
-
Save pkirch/63b667cc744a406c4df7 to your computer and use it in GitHub Desktop.
This sample shows how to shorten the output of the PowerShell command Get-AzureRoleSize using Format-Table.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-AzureRoleSize | Format-Table -Property InstanceSize, Cores, MemoryInMb, SupportedByVirtualMachines -AutoSize | |
<# Output | |
InstanceSize Cores MemoryInMb SupportedByVirtualMachines | |
------------ ----- ---------- -------------------------- | |
A5 2 14336 True | |
A6 4 28672 True | |
A7 8 57344 True | |
A8 8 57344 True | |
A9 16 114688 True | |
Basic_A0 1 768 True | |
Basic_A1 1 1792 True | |
Basic_A2 2 3584 True | |
Basic_A3 4 7168 True | |
Basic_A4 8 14336 True | |
ExtraLarge 8 14336 True | |
ExtraSmall 1 768 True | |
Large 4 7168 True | |
Medium 2 3584 True | |
Small 1 1792 True | |
Standard_D1 1 3584 True | |
Standard_D11 2 14336 True | |
Standard_D12 4 28672 True | |
Standard_D13 8 57344 True | |
Standard_D14 16 114688 True | |
Standard_D2 2 7168 True | |
Standard_D3 4 14336 True | |
Standard_D4 8 28672 True | |
#> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment