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
 

Remove-AzureVMImageDataDiskConfig

Remove-AzureVMImageDataDiskConfig

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

This cmdlet removes the Data Disk Config from the DiskConfigSet object

Syntax

Remove-AzureVMImageDataDiskConfig [-DiskConfig] [-DataDiskName] [<CommonParameters>]

Remove-AzureVMImageDataDiskConfig [-DiskConfig] [-Lun] [<CommonParameters>]

Detailed Description

Parameters

-DiskConfig <VirtualMachineImageDiskConfigSet>

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

-DataDiskName <String>

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Lun <Int32>

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet

Notes

Examples

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

Description

PS C:\> $s = New-AzureDiskConfigSet
          # returns DiskConfigSet object;

          $s = Set-AzureDataDiskConfig -DiskConfig $s -HostCaching ReadWrite
          # returns DiskConfigSet object;

          Remove-AzureVMImageDataDiskConfig -DiskConfig $s
          # removes the Data DiskConfig object from the DiskConfigSet object

Unknown