This message was deleted.
# citrix-vad
s
This message was deleted.
m
I have one group with 2 catalogs and trying to work out sessions per catalog seems impossible
s
Not sure if this is what you need but I'd do this: Get-BrokerSession | Select UserFullName,CatalogName | Sort-Object -Property CatalogName Of course you can add a filter to select only the catalog you want: Get-BrokerSession | Where { $_.Catalogname -eq "MyCatalog"} | Select UserFullName,CatalogName | Sort-Object -Property CatalogName
Tested in 7.15cu2
m
is there a function that can sum the lines and just give me the number?
I just wish I could do this in director
s
Get-BrokerSession | Where { $_.Catalogname -eq "MyCatalog"} | Select UserFullName | Measure-Object
m
it’s the historical data I need though, I can get that live count from studio
maybe I need to break out the old sql
or odata
s
Yep, you'll have to talk to OData API. https://www.citrix.com/blogs/wp-content/uploads/2014/01/users-connected-to-Delivery-group-for-the-day.txt Don't know if you can find info for the catalog, but I'd start from there
(do not take care of the 404)