May 5, 201016 yr Hi All,I have 5 Windows 2003 terminal servers in a NLB Cluster. I'm looking for a way to know how many users are currently logged on the entire cluster without having to manually count the number of users on each server. Does anyone have a solution to this?I found this VB script online but I'm not a VB expert so can't get this to work. Please help!foreach ($server in (Get-Content $file)){$count = (Get-WMIObjectWin32_PerfFormattedData_TermService_TerminalServices).TotalSessions"There are {0} users on {1}" -f $count,$Server}
Create an account or sign in to comment