Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-AzVMUsage

Gets the virtual machine core count usage for a location.

Syntax

Default (Default)

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

Description

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

Examples

Example 1: Get core count usage for a location

Get-AzVMUsage -Location "Central US"

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

Parameters

-DefaultProfile

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

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

-Location

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

PSUsage

Related Links


Feedback

Was this page helpful?