< Back

Get-AzureRmVmssVMDiskEncryption

Tue Jan 29, 2019 9:38 pm

NAME Get-AzureRmVmssVMDiskEncryption



SYNOPSIS

Shows the disk encryption status of VMs in a VM scale set.





SYNTAX

Get-AzureRmVmssVMDiskEncryption [-ResourceGroupName] <String> [-VMScaleSetName] <String> [[-InstanceId] <String>] [-DefaultProfile

<IAzureContextContainer>] [-ExtensionName <String>] [<CommonParameters>]





DESCRIPTION

Shows the disk encryption status of VM scale set.





PARAMETERS

-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? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-InstanceId <String>

Specifies the instance ID.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Resource group name of the virtual machine scale set.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VMScaleSetName <String>

The virtual machine scale set name.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

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.Models.PSVmssVMDiskEncryptionStatusContext







NOTES









Example 1



PS C:\\> Get-AzureRmVmssVMDiskEncryption -ResourceGroupName "Group001" -VMScaleSetName "VMSS001" -InstanceId "1"



Shows the disk encryption status of VM instance 1 in 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