Skip to content

Instantly share code, notes, and snippets.

@pkirch
Created February 26, 2015 13:11
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/4a90923fdd6434e070f8 to your computer and use it in GitHub Desktop.
Save pkirch/4a90923fdd6434e070f8 to your computer and use it in GitHub Desktop.
Code sample with shortend output for the PowerShell command Get-AzureDisk.
Get-AzureDisk | Format-Table -Property DiskName, AttachedTo -AutoSize
<# Output
DiskName AttachedTo
-------- ----------
host2-host2-0-201412081048370142 RoleName: host2 ...
host4-host4-0-201412081236310110 RoleName: host4 ...
host5-host5-0-201412081327460337 RoleName: host5 ...
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment