Get-AzureRmVMUsage

Gets the virtual machine core count usage for a location.

Syntax

Get-AzureRmVMUsage
   [-Location] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzureRmVMUsage cmdlet gets the virtual machine core count usage for a location.

Examples

Example 1: Get core count usage for a location

PS C:\> Get-AzureRmVMUsage -Location "Central US"

This command gets the virtual machine core count usage for the location Central US.

Required Parameters

-Location

Specifies the location for which this cmdlet gets virtual machine core count usage.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False