Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Add-AzureVMImage

Add-AzureVMImage

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

The Add-AzureVMImage cmdlet adds a new operating system (OS) image to the image repository. The image should be a sysprep'd or generalized OS image.

Syntax

Add-AzureVMImage [-ImageName] [-MediaLocation] [-OS] [-Label] [-Eula] [-Description] [-ImageFamily] [-PublishedDate] [-PrivacyUri] [-RecommendedVMSize] [<CommonParameters>]

Detailed Description

Parameters

-ImageName <String>

Specifies the name of the image being added to the image repository.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-MediaLocation <String>

Specifies the location of the physical blob page where the image resides. This is a link to a blob page in the current subscription's storage.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-OS <String>

Specifies the operating system version of the image.

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Label <String>

Specifies a label to give the image.

Aliases

None

Required?

false

Position

3

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Eula <String>

Specifies the End User License Aggreement, recommended value is a URL.

Aliases

None

Required?

false

Position

4

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Description <String>

Specifies the description of the OS image.

Aliases

None

Required?

false

Position

5

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ImageFamily <String>

Specifies a value that can be used to group OS images.

Aliases

None

Required?

false

Position

6

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PublishedDate <Nullable`1[DateTime]>

Specifies the date when the OS image was added to the image repository.

Aliases

None

Required?

false

Position

7

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PrivacyUri <Uri>

Specifies the URI that points to a document that contains the privacy policy related to the OS image.

Aliases

None

Required?

false

Position

8

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-RecommendedVMSize <String>

Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7".

Aliases

None

Required?

false

Position

9

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

OSImageContext

Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

PS C:\> Add-AzureVMImage -ImageName imageName -MediaLocation http://yourstorageaccount.blob.core.azure.com/container/sampleImage.vhd -Label imageLabel

Get-AzureVMImage
Remove-AzureVMImage
Update-AzureVMImage