< Back

Get-AzureRmVMImageOffer

Tue Jan 29, 2019 9:37 pm

NAME Get-AzureRmVMImageOffer



SYNOPSIS

Gets VMImage offer types.





SYNTAX

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





DESCRIPTION

The Get-AzureRmVMImageOffer cmdlet gets the VMImage offer types.





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



-PublisherName <String>

Specifies the name of a publisher of a VMImage. To obtain a publisher, use the Get-AzureRmVMImagePublisher cmdlet.



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







NOTES









Example 1: Get offer types for a publisher



PS C:\\> Get-AzureRmVMImageOffer -Location "Central US" -PublisherName "Fabrikam"



This command gets the offer types for the specified publisher in the Central US region.







RELATED LINKS

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

Get-AzureRmVMImage

Get-AzureRmVMImagePublisher

Get-AzureRmVMImageSku

Save-AzureRmVMImage