< Back

Get-AzureRmVMImageSku

Tue Jan 29, 2019 9:37 pm

NAME Get-AzureRmVMImageSku



SYNOPSIS

Gets VMImage SKUs.





SYNTAX

Get-AzureRmVMImageSku [-DefaultProfile <IAzureContextContainer>] -Location <String> -Offer <String> -PublisherName <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmVMImageSku cmdlet gets VMImage SKUs.





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 of the VMImage.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Offer <String>

Specifies the type of VMImage offer.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-PublisherName <String>

Specifies the publisher of a VMImage.



Required? true

Position? named

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







NOTES









Example 1: Get VMImage SKUs



PS C:\\> Get-AzureRmVMImageSku -Location "Central US" -PublisherName "Fabrikam" -Offer "LinuxServer"



This command gets the SKUs for the specified publisher and offer.







RELATED LINKS

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

Get-AzureRmVMImage

Get-AzureRmVMImageOffer

Get-AzureRmVMImagePublisher

Save-AzureRmVMImage