uremono
Contributor
Contributor

Error when using Get-Compliance in PowerCLI.

Hi I tried to use PowerShell scripts on my VM's to do some update manager upgrade work, but when I run the command ,e.g. Get-Complaince, error message will appear,

API version '2.52' for vCenter Server xxx is not supported.

+ CategoryInfo : InvalidOperation: (Smiley Happy , NotSupportedException

+ FullyQualifiedErrorId : Insufficient_VIM_API_Version,VMware.VumAutomation.Commands.GetCompliance

Anyone experienced the same error before? How to resolve this issue? Thank you!

Reply
0 Kudos
LucD
Leadership
Leadership

The Release Notes state that you should be at Update Manager 4.0 Update 1.

Judging from the message (API 2.52) you're using Virtual Center 2.5.

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
uremono
Contributor
Contributor

Thank you LucD. I will try that.

Reply
0 Kudos