命令Get-RDUserSession给我一个完美的视图,连接的用户的服务器,甚至会话状态。但我想将这些输出分组到一个新变量中 我想要的是输出 ServerName(this Should be Unieque)|TotalAmmountofConnected Users witch is an Adition of State_Active,State_Connected,Session_Disconnected
|SessionState(State_Active this in Count)| SessionState(State_Connected this in Count)|