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-AzureVMImageOSDiskConfig

Remove-AzureVMImageOSDiskConfig

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

This cmdlet removes the OS Disk Config from the DiskConfigSet object

Syntax

Remove-AzureVMImageOSDiskConfig [-DiskConfig] [<CommonParameters>]

Detailed Description

Parameters

-DiskConfig <VirtualMachineImageDiskConfigSet>

The disk config object that encapsulates the OS Disk and Data Disk objects.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByValue, 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-AzureOSDiskConfig -DiskConfig $s -HostCaching ReadWrite
          # returns DiskConfigSet object;

          Remove-AzureVMImageOSDiskConfig -DiskConfig $s
          # removes the OS DiskConfig object from the DiskConfigSet object

Unknown