VMware Cloud Community
uremono
Contributor
Contributor
Jump to solution

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
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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
2 Replies
LucD
Leadership
Leadership
Jump to solution

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

Reply
0 Kudos
uremono
Contributor
Contributor
Jump to solution

Thank you LucD. I will try that.

Reply
0 Kudos