Use the same command from a console window on the monitored server:WMIC /node:localhost PATH Win32_PerfRawData_LocalSessionManager_TerminalServices GET ActiveSessions, InactiveSessions, TotalSessions

Finally, run the command from the monitoring server to check CPU usage on the monitored server:WMIC /node:remote-computer /user:user /password:password PATH Win32_PerfRawData_LocalSessionManager_TerminalServices GET ActiveSessions, InactiveSessions, TotalSessions