< Back

Get-AzureRmVMUsage

Tue Jan 29, 2019 9:38 pm

NAME 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.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Location <String>

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



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Compute.Models.PSUsage







NOTES









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.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ermvmusage

Get-AzureRmVmssDiskEncryption