Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2314

Get number of connections through Remotedesktopgatewayserver via powershell

$
0
0

Hello,

thanks to Covid, my Terminalgatewayservers are heavily used and i would like to get number of connections into my Zabbix system.

Therefore if first need to get those number.

In the Terminalgatewayserver-Manager the connections are listed. But can i get that information via Powershell also?

I did not found a solution till now. Seems like powershell does support Terminalserver andRemote Desktop Session Host, but not the Gatwqay-Server allone?

We doo not have a Remote Desktop Session Host or anything related, we just use a Gateway to access our local Windows PCs.

 How to get the number of the RDP-Gateway connections?

Thank you

To get it clear:

Installed Windows Feature

[X] Remotedesktopdienste                                Remote-Desktop-Services        Installed
    [X] Remotedesktopgateway                            RDS-Gateway                    Installed
    [ ] Remotedesktoplizenzierung                       RDS-Licensing                  Available
    [ ] Remotedesktop-Sitzungshost                      RDS-RD-Server                  Available
    [ ] Remotedesktop-Verbindungsbroker                 RDS-Connection-Broker          Available
    [ ] Remotedesktop-Virtualisierungshost              RDS-Virtualization             Available

PS U:\> Get-Service TSGateway

Status   Name               DisplayName
------   ----               -----------
Running  TSGateway          Remotedesktopgateway


Viewing all articles
Browse latest Browse all 2314


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