Muokkaa

Jaa


Get-CsPersistentChatRoom

Returns information about the Persistent Chat chat rooms configured for use in your organization. A chat room is a discussion forum that typically revolves around a specific topic. This cmdlet was introduced in Lync Server 2013.

Syntax

Get-CsPersistentChatRoom
   [-Addin <String>]
   [-AsObject]
   [-Category <String>]
   [-ChatContentExceedsMB <Int32>]
   [-Disabled <Boolean>]
   [-Filter <String>]
   [-Invitations <ChatRoomInvitations>]
   [-Manager <String>]
   [-Member <String>]
   [-PersistentChatPoolFqdn <String>]
   [-Privacy <ChatRoomPrivacy>]
   [-ResultSize <Int32>]
   [-SearchDescription]
   [-Type <ChatRoomType>]
   [<CommonParameters>]
Get-CsPersistentChatRoom
   [[-Identity] <String>]
   [-AsObject]
   [<CommonParameters>]

Description

The Persistent Chat service provides organizations with messaging and collaboration capabilities similar to those found in Internet discussion forums: users can exchange messages in real-time, yet can also revisit and restart those conversations at any time. Conversations can be based around specific topics, and these conversations can be made available to everyone or to only a selected set of users. Likewise, individual chat rooms can be configured so that anyone can post a message or configured so that only designated presenters can post messages.

Persistent Chat discussions take the form of messages posted in individual chat rooms; chat rooms are discussion forums based on specific topics. By design, messages posted in a chat room remain there forever; at any time, users can return to the room and review all the messages that have been previously posted.

The Get-CsPersistentChatRoom cmdlet provides a way to return information about all the chat rooms configured for use in your organization.

Examples

-------------------------- Example 1 --------------------------

Get-CsPersistentChatRoom

The command shown in Example 1 returns information about the Persistent Chat chat rooms configured for use in the organization.

-------------------------- Example 2 --------------------------

Get-CsPersistentChatRoom -Identity "atl-cs-001.litwareinc.com\ITChatRoom"

Example 2 returns information for a single Persistent Chat chat room: the room with the Identity atl-cs-001.litwareinc.com\ITChatRoom.

-------------------------- Example 3 --------------------------

Get-CsPersistentChatRoom -PersistentChatPoolFqdn "atl-cs-001.litwareinc.com"

In Example 3, information is returned for all the Persistent Chat chat rooms configured for the pool atl-cs-001.litwareinc.com.

Parameters

-Addin

Returns chat rooms associated with the specified chat room add-in.

Note that you can only specify one add-in per command.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-AsObject

When specified, Active Directory display names are used when showing users who are on the Managers or Presenters lists. When not specified, SIP addresses are used when showing these users.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Category

Returns information for all the Persistent Chat chat rooms in the specified category. For example:

-Category "ITChat"

You can only specify a single category when using the Category parameter. In addition, you cannot use the PersistentChatPoolFqdn, Filter, or Identity parameters in any command that uses the Category parameter.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-ChatContentExceedsMB

Returns chat rooms whose cumulative chat content exceeds the specified value (in megabytes).

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Disabled

Enables you to search for active chat rooms (by using the parameter value $False) or disabled chat rooms (by using the parameter value $True).

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Filter

Enables you to return information for Persistent Chat chat rooms based on the Name and/or the Description of the room. To return information for a chat room with a specific name, use syntax similar to this:

-Filter {Name -like "ITChat"}

That syntax returns information only for chat rooms that have the name ITChat.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Identity

Unique Identifier for the Persistent Chat chat room being returned. The Identity for a chat room consists of the Persistent Chat pool where the room has been configured plus the name of the room; for example:

-Identity "atl-gc-001.litwareinc.com\RedmondChatRoom"

You cannot use the Category, Filter, or PersistentChatPoolFqdn parameters in any command that uses the Identity parameter. If you call the Get-CsPersistentChatRoom cmdlet without any parameters the cmdlet will return information about all the chat rooms configured for use in your organization.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Invitations

Returns chat rooms that use invitations (by using the parameter value Inherit) or chat rooms that do not use invitations (by using the parameter value False).

Type:ChatRoomInvitations
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Manager

Returns chat rooms managed by the specified user. For example:

-Manager "sip:kenmyer@litwareinc.com"

Note that you can only specify a single manager per command.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Member

Returns chat rooms that the specified user is a member of. For example:

-Member "sip:kenmyer@litwareinc.com"

Note that you can only specify a single member per command.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-PersistentChatPoolFqdn

Returns information about all the Persistent Chat chat rooms configured on the specified Persistent Chat pool. For example:

-PersistentChatPoolFqdn "atl-gc-001.litwareinc.com"

You cannot use the Category, Filter, or Identity parameters in any command that uses the PersistentChatPoolFqdn parameter.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Privacy

Enables you to return chat rooms that meet the specified privacy setting. Allowed values are:

  • Open (any user can locate the chat room by doing a directory search, and anyone can participate in chat room activities)
  • Secret (only chat room members can locate the room by doing a directory search, and only members can participate in chat room activities)
  • Closed (any user can locate the chat room by doing a directory search, but only members can participate in chat room activities)
Type:ChatRoomPrivacy
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-ResultSize

Enables you to limit the number of records returned by the cmdlet. For example, to return seven chat rooms (regardless of the number of rooms in your forest) include the ResultSize parameter and set the parameter value to 7. Note that there is no way to guarantee which seven rooms will be returned.

The result size can be set to any whole number between 0 and 2147483647, inclusive. If set to 0 the command will run, but no data will be returned. If you set the ResultSize to 7 but you have only three rooms in your forest, the command will return those three rooms, and then complete without error.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-SearchDescription

Enables you to search for the specified text value in either the chat room Name or the chat room Description. To search both the Name and the Description, include the SearchDescription parameter along with the Filter parameter. For example:

-SearchDescription -Filter "IT chat room"

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

-Type

Returns chat rooms by room type. Allowed values are:

  • Normal (chat rooms where all members can post messages)
  • Auditorium (chat rooms where only presenters can post messages)
Type:ChatRoomType
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Lync Server 2013, Skype for Business Server 2015

Inputs

None

Outputs

Microsoft.Rtc.Management.PersistentChat.Cmdlets.ChatRoomObject