I need some help with creating a script or batch to output how many users are logged into some server farms to a webpage... It needs to be refreshed every 5 minutes and sent the webpage so we can track our users... I need it to some help and am not very experienced with Powershell yet.. Here is an example of what I am trying to do... I think* Any help would be GREATLY appreciated!
Farm 1
Server 1 = 14 users
Server 2 = 24 users
Server 3 = 17 users
Total Farm 1 users currently logged in = *
Farm 2
Server 4 = 25 users
Server 5 = 26 users
Total Farm 2 users currently logged in = *
Total users logged in all farms = *