Update VMware.VMEncryption.psm1
Example for Get-Help was using $SetVMEncryptionKey rather than SetVMDiskEncryptionKey ($ sign and other command used)
This commit is contained in:
@@ -1034,7 +1034,7 @@ Function Set-VMDiskEncryptionKey {
|
||||
C:\PS>$KMSCluster = Get-KMSCluster | select -last 1
|
||||
C:\PS>$VM = Get-VM -Name win2012
|
||||
C:\PS>$HardDisk = get-vm $vm|Get-HardDisk
|
||||
C:\PS>$HardDisk|$Set-VMEncryptionKey -VM $VM -KMSClusterId $KMSCluster.Id -Deep
|
||||
C:\PS>$HardDisk| Set-VMDiskEncryptionKey -VM $VM -KMSClusterId $KMSCluster.Id -Deep
|
||||
|
||||
Deep rekeys all the disks of the $VM using a new key.
|
||||
The key is generted from the KMS whose clusterId is $KMSCluster.Id.
|
||||
|
||||
Reference in New Issue
Block a user