Update VMware.VMEncryption.psm1
This commit is contained in:
committed by
GitHub
parent
049e621fb6
commit
9bd66f1a66
@@ -69,6 +69,13 @@ New-VIProperty -Name vMotionEncryption -ObjectType VirtualMachine -Value {
|
||||
$VM.ExtensionData.Config.MigrateEncryption
|
||||
} -BasedOnExtensionProperty 'Config.MigrateEncryption' -Force | Out-Null
|
||||
|
||||
New-VIProperty -Name KMSserver -ObjectType VirtualMachine -Value {
|
||||
Param ($VM)
|
||||
if ($VM.Encrypted) {
|
||||
$VM.EncryptionKeyId.ProviderId.Id
|
||||
}
|
||||
} -BasedOnExtensionProperty 'Config.KeyId' -Force | Out-Null
|
||||
|
||||
New-VIProperty -Name Encrypted -ObjectType HardDisk -Value {
|
||||
Param ($hardDisk)
|
||||
$hardDisk.ExtensionData.Backing.KeyId -ne $null
|
||||
|
||||
Reference in New Issue
Block a user