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
 

New-AzureVMConfig

New-AzureVMConfig

microsoft.windowsazure.commands.servicemanagement.dll, microsoft.azure.commands.compute.dll

Synopsis

Creates a new Windows Azure virtual machine configuration object.

Syntax

New-AzureVMConfig [-Name] [-InstanceSize] [-HostCaching] [-AvailabilitySetName] [-Label] [-DiskName] [-MediaLocation] [-PipelineVariable] [<CommonParameters>]

New-AzureVMConfig [-Name] [-InstanceSize] [-HostCaching] [-AvailabilitySetName] [-Label] [-ImageName] [-DiskLabel] [-MediaLocation] [-PipelineVariable] [<CommonParameters>]

Detailed Description

The New-AzureVMConfig cmdlet creates a new virtual machine configuration object. This object can then be used to perform a new deployment, as well as to add a new virtual machine to an existing deployment.

Parameters

-AvailabilitySetName <string>

Specifies the name of the availability set.

Aliases

None

Required?

false

Position

4

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-DiskLabel <string>

Specifies a label for the operating system disk.

Aliases

None

Required?

false

Position

8

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-DiskName <string>

Specifies a name for the operating system disk.

Aliases

None

Required?

true

Position

6

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-HostCaching <string>

Specifies the host caching mode for the operating system disk. Supported values are: "ReadOnly" and "ReadWrite".

Aliases

None

Required?

false

Position

3

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ImageName <string>

Specifies the name of the virtual machine image to use for the operating system disk.

Aliases

None

Required?

true

Position

6

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-InstanceSize <string>

Specifies the size of the instance. Allowed values are ExtraSmall, Small, Medium, Large, ExtraLarge, A5, A6, A7, A8, A9, Basic_A0, Basic_A1, Basic_A2, Basic_A3, Basic_A4, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14.

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Label <string>

Specifies a label to assign to the virtual machine.

Aliases

None

Required?

false

Position

5

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-MediaLocation <string>

Specifies the Windows Azure storage location for the new virtual machine disk.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Name <string>

Specifies the name of the virtual machine.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PipelineVariable <string>

Not Specified

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

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

C:\PS>

Description

-----------

Description

        

-------------------------- EXAMPLE 2 --------------------------

C:\PS>

Description

-----------

Description