i know i can display the servers with allowed connections on powershell from the session broker by

Get-RDSessionHost -CollectionName "collection" | f1 Sessionhost, NewConnectionAllowed

this will display all the list of hosts within "collection"

SessionHost                     : Server.domain.local
NewConnectionAllowed : Yes

how can i monitor this with a custom script


Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

Hello,

the custom script would have to do the query and return the result in a PRTG-compatible format which is documented here.


Sep, 2022 - Permalink