< Back

Get-AzureRmVmssSku

Tue Jan 29, 2019 9:38 pm

NAME Get-AzureRmVmssSku



SYNOPSIS

Gets the available SKUs for the VMSS.





SYNTAX

Get-AzureRmVmssSku [-ResourceGroupName] <String> [-VMScaleSetName] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmVmssSku cmdlet gets the available SKUs for the Virtual Machine Scale Set (VMSS).





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



-ResourceGroupName <String>

Specifies the name of the resource group of the VMSS.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VMScaleSetName <String>

Species the name of the VMSS.



Required? true

Position? 2

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

This cmdlet does not produce any output.







NOTES









Example 1: Get all available SKUs from the VMSS



PS C:\\> Get-AzureRmVmssSku -ResourceGroupName "ContosoGroup" -VMScaleSetName "ContosoVMSS"



This command gets all the available SKUs from the VMSS named ContosoVMSS that belongs to the resource group named ContosoGroup.







RELATED LINKS

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

Get-AzureRmVmssDiskEncryption