This message was deleted.
# _general
s
This message was deleted.
b
Get-BrokerSession is what you're looking for. (Get-BrokerSession -MaxRecordCount 20000).count #will give you total number of sessions (Get-BrokerSession -SessionState Active -MaxRecordCount 20000).count #will give you total number of active sessions (Get-BrokerSession -SessionState Disconnected -MaxRecordCount 20000).count #will give you total number of disconnected sessions With SessionState you can query Active, Connected, Disconnected, NonBrokeredSession, Other, PreparingSession, Reconnecting, and Unknown
👍 1