< Back
Remove-AzureVMImageOSDiskConfig
Post
NAME Remove-AzureVMImageOSDiskConfig
SYNOPSIS
Removes the operating system disk configuration from the DiskConfigSet object.
SYNTAX
Remove-AzureVMImageOSDiskConfig [-DiskConfig] <VirtualMachineImageDiskConfigSet> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
[<CommonParameters>]
DESCRIPTION
The Remove-AzureVMImageOSDiskConfig cmdlet removes the operating system disk configuration from the DiskConfigSet object.
PARAMETERS
-DiskConfig <VirtualMachineImageDiskConfigSet>
Specifies the disk configuration object that encapsulates the operating system disk and Data Disk objects.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet
NOTES
-------------------------- Example 1: Remove the operating system disk configuration from a DiskConfigSet --------------------------
PS C:\\> $Disk = New-AzureDiskConfigSet
PS C:\\> $Disk = Set-AzureOSDiskConfig -DiskConfig $Disk -HostCaching ReadWrite
PS C:\\> Remove-AzureVMImageOSDiskConfig -DiskConfig $Disk
This command removes the operating system disk configuration from the DiskConfigSet object
RELATED LINKS
Set-AzureVMImageOSDiskConfig
SYNOPSIS
Removes the operating system disk configuration from the DiskConfigSet object.
SYNTAX
Remove-AzureVMImageOSDiskConfig [-DiskConfig] <VirtualMachineImageDiskConfigSet> [-InformationAction <ActionPreference>] [-InformationVariable <String>]
[<CommonParameters>]
DESCRIPTION
The Remove-AzureVMImageOSDiskConfig cmdlet removes the operating system disk configuration from the DiskConfigSet object.
PARAMETERS
-DiskConfig <VirtualMachineImageDiskConfigSet>
Specifies the disk configuration object that encapsulates the operating system disk and Data Disk objects.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Microsoft.WindowsAzure.Commands.ServiceManagement.Model.VirtualMachineImageDiskConfigSet
NOTES
-------------------------- Example 1: Remove the operating system disk configuration from a DiskConfigSet --------------------------
PS C:\\> $Disk = New-AzureDiskConfigSet
PS C:\\> $Disk = Set-AzureOSDiskConfig -DiskConfig $Disk -HostCaching ReadWrite
PS C:\\> Remove-AzureVMImageOSDiskConfig -DiskConfig $Disk
This command removes the operating system disk configuration from the DiskConfigSet object
RELATED LINKS
Set-AzureVMImageOSDiskConfig