As Mike suggested, add a new VI Property to retrieve the KMSserver ClusterId for encrypted VMs.
Prerequisites/Steps to use this module:
- This module only works for vSphere products that support VM Encryption. E.g. vSphere 6.5 and later.
- All the functions in this module only work for KMIP Servers.
- Install the latest version of Powershell and PowerCLI(6.5).
- Import this module by running: Import-Module -Name "location of this module"
- Get-Command -Module "This module Name" to list all available functions.