Get Connected Consoles command line tool for SCOM
Hi,
Mark Manty Premier Field Engineer with Microsoft here with another example for System Center Operations Manager.
Today we are going to walk through an example command line tool that will display the current number of connections to the SCOM SDK service.
In most cases the recommended limit to the number of console connections you should have are 50 simultaneous connections. If you have a large number of agents reporting into one management group the recommended limit declines to 25 simultaneous connections. Discovering whom is connected is the problem we are addressing with this tool today.
I ran this in a test environment and it does not have to run on a RMS or MS to work. It must meet the below requirements in order to run successfully:
- .NET 3.5 Framework
- SCOM R2 Console (User Interface installed)
- Run as account that has administrative rights to the SCOM Management Group
Extract the files to some directory of your choice.
Open Administrative command prompt.
Run the GetConnectedConsoles.exe with no parameters to see what the command line tool expects for parameters.
As you can see, it is only looking for one parameter that is your RMS server name.
The program lists out all the users that currently have a SCOM console connection. Users will be displayed once for every connection they have open.
This is an example tool that will assist in finding who has how many SCOM consoles open.
Disclaimer:
This example is provided “AS IS” with no warranty expressed or implied. Run at your own risk. The opinions and views expressed in this blog are those of the author and do not necessarily state or reflect those of Microsoft.
Comments
Anonymous
January 01, 2003
Indeed Michel. Tool provides another option and can run remotely from a workstation with SCOM Console installed that does not have OpsMgr PowerShell installed. Thank you for the feedback. MarkAnonymous
July 26, 2012
Handy tool. However it can also be done in OM12 PowerShell so no extra binarys needed: (Get-SCOMManagementGroup).GetConnectedUserNames() Michel