Skip to content


Gets License Inventory Data from the License Server


Get-LicInventory [-AdminAddress] <String> [-CheckForSameSerialNumber] [-Locale <String>] [-CertHash <String>] [-Credentials <PSCredential>] [<CommonParameters>]

Detailed Description

Returns detailed information about licenses in the inventory of the server pointed to by the snapin


Name Description Required? Pipeline Input Default Value
AdminAddress Specifies the Web Services for Licensing address of the License Server that the PowerShell Snap-in will connect to. Retrieve this address with Get-LicLocation. true true (ByValue)
CheckForSameSerialNumber Switch if present filters the Inventory result. false false False
Locale Language code of localized human readable strings. false false EN
CertHash Specifies the hash of the License Server certificate needing verification. false false
Credentials Specifies the username/password to be authenticated with the License Server. false false

Input Type

Return Values



If the command fails, one of the following errors is returned.
Error Codes
The currently authenticated user is not authorized to perform this operation.
There was a problem communicating with the License Server.
The Vendor Daemon or Service is down or unresponsive.
There was no available inventory on the specified License Server.
The locale specified is not supported.
An unexpected error occurred. For more details, see the Windows event logs on the controller.


Example 1

C:\PS>Get-LicInventory -AdminAddress the server for the License Data in its inventory<br>Output:<br>LicenseProductName : CITRIX<br>LocalizedLicenseProductName : Citrix Start-up License<br>LicenseEdition :<br>LicenseLocalizedEdition :<br>LicenseExpirationDate : 12/31/1999 7:00:00 PM<br>LicenseCustomerSuccessServicesDate : 12/31/2037 7:00:00 PM<br>LicenseType : SYS<br>LocalizedLicenseType : System<br>LicensesInUse : 0<br>LicensesAvailable : 4000<br>LicenseOverdraft : 0<br>LicenseModel :<br>LocalizedLicenseModel : Server<br>LicenseProductName : MPS<br>LocalizedLicenseProductName : Citrix XenApp (Presentation Server) Platinum<br>LicenseEdition : PLT<br>LicenseLocalizedEdition :<br>LicenseExpirationDate : 11/30/2011 7:00:00 PM<br>LicenseCustomerSuccessServicesDate : 11/30/2001 7:00:00 PM<br>LicenseType : Retail<br>LocalizedLicenseType : Retail<br>LicensesInUse : 0<br>LicensesAvailable : 0<br>LicenseOverdraft : 0<br>LicenseModel : CCU<br>LocalizedLicenseModel : Concurrent User

Was this article helpful?