Jump to content
Welcome to our new Citrix community!
  • 0

Citrix License Monitoring using WMI


Question

Hi,

I'm using the following PowerShell script to monitor the Citrix Virtual Apps and Desktop licenses with WMI:

Get-WmiObject -class "Citrix_GT_License_Pool" -Namespace "ROOT\CitrixLicensing" -ComputerName "<COMPUTERNAME>" | Out-String

 

Using this script I get several information about the licenses, e.g. the usage and the SubscriptionDate.

Now I have installed new licenses which are displayed in Citrix Studio as type "Eypiring Retail". These licenses also have a Subscription Advantage Date, but also an Expiration Date:

image.thumb.png.d79fef803e8f0bc750c7770b5e7edf22.png

 

Now I would like to monitor this Expiration Date, but I can't find this information in the output of the PowerShell script. The only difference I can see between these two licenses is, that the SubscriptionDate for the licenses with Expiration Date is displayed with 9999 for the year:

image.png.deef59f56b4c84c76e64dfc5f288f385.png

 

For the licenses without an Expiration Date the Subscription Date is displayed correctly:

image.png.dcb458022e80ea0a53dcacd28498dc59.png

 

Is there any possibility to monitor the Expiration Date of the licenses?

 

regards, Patrick

Link to comment

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...