Skip to content

RZomerman/GetAllVMsBySize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Get All VM's By Size

This Repo Contains a PoweeShell script to get the number of VM's by size in an Azure Subscription

Prerequisites

Usage

Sign In

Connect-AzAccount

Run PowerShell Script

 ./GetVMSizes.ps1

Sample Output

Subscription: Subscription A (xxxxxx-xxxxxx-xxxxxx-xxxxxx)

Standard_B1ms: 1
Standard_B1s: 4
Standard_D2s_v3: 2

Subscription:  Subscription B (xxxxxx-xxxxxx-xxxxxx-xxxxxx)

Standard_NV6: 1


all sizes in all subsciptions:

Name                           Value
----                           -----
Standard_B1s                   4
Standard_NV6                   1
Standard_B1ms                  1
Standard_D2s_v3                2

About

Powershell script & module to get all VM's sorted by size

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •