I'm trying to query multiple servers in our RD Farm and count all the Status:Active sessions and display them in a text file. I was hoping this is possible using query user /server:$Server1,Server2,Server$3...etc. 2>&1
Server 1 has 21 active connections
Server 2 has 12 active connections
Server 3 has 15 active connections
Server 1 has 21 active connections
Server 2 has 12 active connections
Server 3 has 15 active connections