I am not sure if there is a command to do exactly what you need, but if you search for command line options in the product help you will get a detailed explenation of all the commands that are available to you in the product. Potentially you could also query the Blue Prism database to get a list of active sessions (although I do not encourage bespoke query access to the database).