Get-Licusagedetails
Gets the license usage details for the requested Product Edition Model. Currently it shows only usage details for User/Device model only.
Syntax
Get-LicUsageDetails [-AdminAddress] <String> -ProductEditionModel <String> [-CertHash <String>] [<CommonParameters>]
Detailed Description
Returns the list of license usage details for the requested P_E_M Product Edition Model String. Currently it shows only usage details for the User/Device model only.
Related Commands
Parameters
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) | |
ProductEditionModel | Specifies the P_E_M Product Edition Model String for which license usage details are requested. | true | false | |
CertHash | Specifies the hash of the License Server certificate needing verification. | false | false |
Input Type
System.String
Return Values
Citrix.Licensing.Admin.Sdk.Wslusagedetails[]
Notes
If the command fails, one of the following errors is returned.
Error Codes
-----------
LicensingAdminStatus.CommunicationError
There was a problem communicating with the License Server.
LicensingAdminStatus.InvalidCertificate
Certificate is not verified or it is self-signed. Get the Certificate and store the Hash in Ccs.
LicensingAdminStatus.CertificateVerificationFailed
Certificate is not verified or it is self-signed. Get the Certificate and store the Hash in Ccs.
LicensingAdminStatus.UnknownError
An unexpected error occurred. For more details, see the Windows event logs on the controller.
Examples
Example 1
``` PS C:> $cert = Get-LicCertificate -AdminAddress https://licserver.mydomain.net:8083
PS C:> $usgdetails = Get-LicUsageDetails -AdminAddress https://licserver.mydomain.net:8083 -ProductEditionModel XDT_PLT_UD -CertHash $cert.CertHash ```Returns the list of license usage details for the XDT_PLT_UD (Product Edition Model) string from the License Server on licserver.mydomain.net.<br>Output:<br>PS C:\> \$usgdetails[0]<br>PEM SADate LicenseModelType Name<br>--- ------ ---------------- ----<br>XDT_PLT_UD 2015.1201 Device device00000001