Skip to content

Instantly share code, notes, and snippets.

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/33f7054b6c2ef03f3e03 to your computer and use it in GitHub Desktop.
Save pkirch/33f7054b6c2ef03f3e03 to your computer and use it in GitHub Desktop.
This sample shows Azure VM images grouped by PublisherName.
$images | Group-Object -Property PublisherName | Sort-Object -Property Name | Format-Table -Property Count, Name -AutoSize
<# Output
Count Name
----- ----
5 Barracuda Networks, Inc.
4 Bitnami
72 Canonical
1 Cloudera
25 CoreOS
2 DataStax
2 Hortonworks
6 Microsoft BizTalk Server Group
2 Microsoft Dynamics GP Group
2 Microsoft Dynamics NAV Group
5 Microsoft Hybrid Cloud Storage Group
65 Microsoft Open Technologies, Inc.
1 Microsoft SharePoint Group
59 Microsoft SQL Server Group
23 Microsoft Visual Studio Group
8 Microsoft Windows Server Essentials Group
10 Microsoft Windows Server Group
3 Microsoft Windows Server HPC Pack team
17 Microsoft Windows Server Remote Desktop Group
3 OpenLogic
5 Oracle
1 Puppet Labs
32 RightScale with Linux
36 RightScale with Windows Server
4 Riverbed Technology
16 SUSE
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment