< Back

Disable-AzureRmVmssDiskEncryption

Tue Jan 29, 2019 9:37 pm

NAME Disable-AzureRmVmssDiskEncryption



SYNOPSIS

Disables disk encryption on a VM scale set.





SYNTAX

Disable-AzureRmVmssDiskEncryption [-ResourceGroupName] <String> [-VMScaleSetName] <String> [[-ExtensionName] <String>] [-AsJob] [-DefaultProfile

<IAzureContextContainer>] [-Force] [-ForceUpdate] [-VolumeType {OS | Data | All}] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

Disables disk encryption on a VM scale set.





PARAMETERS

-AsJob [<SwitchParameter>]

Run cmdlet in the background



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ExtensionName <String>

The extension name. If this parameter is not specified, default values used are AzureDiskEncryption for windows VMs and

AzureDiskEncryptionForLinux for Linux VMs.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Force [<SwitchParameter>]

To force the removal of the extension from the virtual machine.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ForceUpdate [<SwitchParameter>]

Generate a tag for force update. This should be given to perform repeated encryption operations on the same VM.



Required? false

Position? named

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

The resource group name.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VMScaleSetName <String>

The virtual machine name.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VolumeType <String>

Type of the volume (OS or Data) to perform encryption operation



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Commands.Compute.Automation.Models.PSVirtualMachineScaleSet







NOTES









Example 1



PS C:\\> Disable-AzureRmVmssDiskEncryption -ResourceGroupName "Group001" -VMScaleSetName "VMSS001"



Disables disk encryption on the VM scale set named VMSS001 that belongs to the resource group named Group001.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... encryption