I'm running PowerShell script like below:
... Install-Module -Name VMware.PowerCLI -Force Connect-HVServer -Server ... -User ... Set-HVEventDatabase -ServerName ... -DatabaseType ...
As I remember, It worked in the old powercli version. When I install a new VM (Windows Server 2019) and run it, I got this error:
Set-HVEventDatabase : The term 'Set-HVEventDatabase' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
My current PowerCLI version is 12.4.0
Which module do I need to install to run Set-HVEventDatabase ?