Hey Luc,
I've been digging through your scripts for host profile configuration and came across your root password set for host profile script.
When I went to execute the script I'm getting an error: The property 'Policy' cannot be found on this object.
its referencing to the part of the script that does so: (line 49) $spec.ApplyProfile.Security.Policy = @($secpol)
Digging through API's I do not see anything pertaining to policy under vmware.vim.hostprofileconfigspec.applyprofile.security
am I missing something here or has the script not been touched in a while and is now deprecated due to API changes.
thanks in advance!