Skip to content

Latest commit

 

History

History
81 lines (56 loc) · 1.95 KB

File metadata and controls

81 lines (56 loc) · 1.95 KB
external help file Module Name ms.assetid online version schema
Microsoft.Azure.Commands.Compute.dll-Help.xml
AzureRM.Compute
3702701E-428D-47E2-A227-0F38B055F881
2.0.0

Get-AzureRmVMUsage

SYNOPSIS

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.

PARAMETERS

-DefaultProfile

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

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Location

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

Type: System.String
Parameter Sets: (All)
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

System.String

OUTPUTS

Microsoft.Azure.Commands.Compute.Models.PSUsage

NOTES

RELATED LINKS

Get-AzureRmVM