Small PowerShell script to retrieve statistics about your current RDS-CAL licenses.

Requirements

PowerShell v2 installed
Run the script on the server where RDS Licensing Manager is installed

Script

Results

“Installed”,”Issued”,”Available”,”Date”,”AvailablePercent”
“1205”,”318″,”887″,”6/13/2015 9:06:14 PM”,”74″

 

 



6 COMMENTS

  1. Hi,
    Im getting the following error:

    new-item : The path ‘RDS:\LicenseServer\IssuedLicenses\PerUserLicenseReports\Report’ does not exist.
    At line:1 char:14
    + $NewReport = new-item -path RDS:\LicenseServer\IssuedLicenses\PerUserLicenseRepo …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (:) [New-Item], ItemNotFoundException
    + FullyQualifiedErrorId : ObjectNotFound,Microsoft.PowerShell.Commands.NewItemCommand

    Do you have any ideia ?

Comments are closed.