Sunday, June 10, 2018
Powershell Get a list of members of Persistent Chat Room
Powershell Get a list of members of Persistent Chat Room
To get information of specific Persistent Chat room, use following command
Get-CsPersistentChatRoom -Identity <Room Name>
Obviously, to get list of members of chat room, we will use following command
Get-CsPersistentChatRoom -Identity <Room Name> | select-object members
However, you will not get full list of members using above command.
To get full list of members of Persistent Chat, Use following PowerShell command
foreach ($member in (Get-CsPersistentChatRoom -Identity <Room Name> | Select-Object members).members) {$member}
----------------------------------------------------------END---------------------------------------------------------------
Get-CsPersistentChatRoom -Identity <Room Name>
Obviously, to get list of members of chat room, we will use following command
Get-CsPersistentChatRoom -Identity <Room Name> | select-object members
However, you will not get full list of members using above command.
To get full list of members of Persistent Chat, Use following PowerShell command
foreach ($member in (Get-CsPersistentChatRoom -Identity <Room Name> | Select-Object members).members) {$member}
----------------------------------------------------------END---------------------------------------------------------------
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.