Forum Discussion
StefanFried
May 23, 2017Steel Contributor
Owner Count
a stupid question. i can't find a way to retrieve the amount of owners of a group. a group can have max 10 owners so therefore i'm heavily interested in this number ManagedBy (Get-UnifiedGroup)...
StefanFried
Steel Contributor
thanks manidurai
so as expected --> i have to count the "ManagedBy" or "ManagedByDetails" entried :)))
but thanks for creating the query
VasilMichev
May 23, 2017MVP
Well, you can get the same info via other methods, for example:
Get-UnifiedGroupLinks groupname -LinkType Owner
There is no prebuilt property if that's what you are asking for.
- StefanFriedMay 26, 2017Steel Contributor
thank you all for all the Powershell Script contributions. I really appreciate!
i thought that a prebuilt property exists but in fact it does not.
I was also hoping to get this owner count information via API and not necessarily via PS but it seems that PS is always the leading way
thanks again