Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 1106

Cannot generate RDS CAL license report from Powershell

$
0
0

Hi.

We are monitoring RDS CAL usage with SCOM. This is done by running scheduled RDS CAL reports and looking for the event log message about too many issued licenses. This works fine on a Windows 2008 R2 RD License Server.

Now I wanted to set up the same script on a Windows 2012 RD License Server, but there seems to be something broken in the RDS Powershell.

This is the script:

Import-Module RemoteDesktopServices
cd RDS:\LicenseServer\IssuedLicenses\PerUserLicenseReports
New-Item -name scheduled -scope DOM

The problem is the new-item cmdlet, which doesn't seem to work. It fails with error message "new-item : The path 'RDS:\LicenseServer\IssuedLicenses\PerUserLicenseReports\scheduled' does not exist."

Even if I run the command from the "Get-help new-item -examples" I get the same error.

Has anyone done this succcessfully on Windows 2012?


Viewing all articles
Browse latest Browse all 1106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>