VMware Cloud Community
Rogg23
Contributor
Contributor
Jump to solution

ESX License Information using VI Toolkit

Hi,

Is there a way I can list out the total number of licenses (total and remaining) from the vi toolkit?

I want to list it out, similar to how it appears under administration|Licenses in VirtualCenter, e.g.

License Feature

Cost

Remaining

Total

ESX Server Standard

1/CPU Package

40

56

VMotion

1/CPU Package

40

56

VMware HA

1/CPU Package

40

56

But all I want to list is the feature, total, remaining.

Thanks.

Roger.

Reply
0 Kudos
1 Solution

Accepted Solutions
alanrenouf
VMware Employee
VMware Employee
Jump to solution

There are no license server cmdlets at the moment afaik but I did write a script recently which gave you the features of each host and what they are licensed for, does this help ?

http://www.virtu-al.net/2009/05/22/license-server-scripts/

If you found this information useful, please consider awarding points for Correct or Helpful.

Alan Renouf

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com

View solution in original post

Reply
0 Kudos
4 Replies
alanrenouf
VMware Employee
VMware Employee
Jump to solution

Have you seen this great article by Hugo Peeters ?

http://www.peetersonline.nl/index.php/vmware/getting-detailed-vmware-license-information-with-powers...

This explains how to access the license info.

If you found this information useful, please consider awarding points for Correct or Helpful.

Alan Renouf

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com
Reply
0 Kudos
Rogg23
Contributor
Contributor
Jump to solution

Hi Alan,

Yes I have seen Hugo's article.

But I am afraid, being new to all things powershell, I didn't quite understand how to get the information I require.

Reply
0 Kudos
alanrenouf
VMware Employee
VMware Employee
Jump to solution

There are no license server cmdlets at the moment afaik but I did write a script recently which gave you the features of each host and what they are licensed for, does this help ?

http://www.virtu-al.net/2009/05/22/license-server-scripts/

If you found this information useful, please consider awarding points for Correct or Helpful.

Alan Renouf

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com
Reply
0 Kudos
Rogg23
Contributor
Contributor
Jump to solution

Thanks Alan,

That is perfect. I understand that enough to be able to obtain the information I want and format it how I want.

Thanks,

Roger.

Reply
0 Kudos