This post demonstrates how to create/delete Persistent Chat Rooms, as well as add end-users to the appropriate room(s) using PowerShell cmdlets.  Also, if you are a Persistent Chat administrator, you can employ a user interface to create and manage chat rooms instead of using these PowerShell cmdlets.  Lync PowerShell cmdlets grant the administrator the opportunity to work in the background; scripting the necessary steps of editing Persistent Chat Rooms and end-users access to them.

Let’s get started

1)   Log in to your Lync server that hosts your Lync Control Panel.

2)   Open your Lync Server Management Shell

Lync Server Management

3)   To create a new Persistent Chat Room you will follow the below syntax, substituting in what is appropriate for your environment:

 New-CsPersistentChatRoom -Name <String> [-PersistentChatPoolFqdn <String>]-Category <String>

 Example:

Persistant Chat Room Syntax

4)   To delete a room that is no longer needed, follow the below syntax, substituting in what is appropriate for your environment:

Remove-CsPersistentChatRoom [-Identity] <string>

Example:

Syntax Appropriate Environment

5)   Now, after your room is created, you’ll want to add the appropriate members to the room so that they can access it.  To do so, follow the below:

Set-CsPersistentChatRoom -Identity “Help” -Members @{Add=”sip:username@yourdomain.com”}

Example:

Syntax - Add Members

Side note:
***While in the Lync Server Management Shell, you can always type “get-help” in front of your cmdlet and it will offer suggestions on how to proceed.

Example:

Syntax - Get Help 

Written by Cory Granata Employee @ SherWeb

Loading