[This is preliminary documentation and is subject to change. Blank topics are included as placeholders.]

Returns the instant message link filters configured in your organization. These filters are used to prevent users from sending instant messages that contain hyperlinks with specific prefixes (e.g., links with an http or telnet prefix). Depending on your settings, this means that any URI prefaced with one of these schemes will be converted to a non-clickable hyperlink or removed altogether.

Syntax

Get-CsImFilterConfiguration [-Identity <XdsIdentity>] [-LocalStore <SwitchParameter>]
Get-CsImFilterConfiguration [-Filter <String>] [-LocalStore <SwitchParameter>]

Parameters

Parameter Required Type Description

Identity

Optional

XdsIdentity

The unique identifier of the settings you want to retrieve. This will be either global or site:<site name>, where <site name> is the name of the site to which these settings apply, such as site:Redmond.

Full Data Type: Microsoft.Rtc.Management.Xds.XdsIdentity

Filter

Optional

String

Performs a wildcard search for configurations matching a given Identity pattern. For example, returns all settings with identities beginning with site* (all site-specific settings).

LocalStore

Optional

SwitchParameter

Retrieves the IM filter configuration from the local replica of the Central Management database, rather than the Central Management database itself.

Detailed Description

When sending instant messages, users can embed a URI within the text of that message to refer other participants in the conversation to a particular Web site or share. Microsoft Communications Server 2010 can be configured so that hyperlinks with certain prefixes are blocked or are not active. (In other words, the participants can’t simply click on the link and be taken to whatever the URI refers to; they must copy and paste the link manually into a browser.)

The Get-CsImFilterConfiguration cmdlet retrieves all the settings relating to filtering URIs from instant messages. Called by itself (with no parameters), Get-CsImFilterConfiguration returns all URI instant messaging filter settings, globally and for all sites. You can also specify an Identity to show the settings for a specific site (or the global settings).

Return Types

Get-CsImFilterConfiguration returns instances of the Microsoft.Rtc.Management.WritableConfig.Settings.ImFilter.ImFilterConfiguration object.

Examples

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

Copy Code
Get-CsImFilterConfiguration

The command shown above returns a collection of all the instant message hyperlink filters configured for use in your organization. This is the default behavior any time you call Get-CsImFilterConfiguration without any additional parameters.

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

Copy Code
Get-CsImFilterConfiguration -Identity site:Redmond

The preceding example returns settings for one instant message filter: the settings that have the Identity site:Redmond. Because identities must be unique, this command can never return more than one configuration.

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

Copy Code
Get-CsImFilterConfiguration -Filter site:*

Example 3 uses the -Filter parameter to return a collection of all the instant message filters that have been configured at the site level. The wildcard string site:* instructs Get-CsImFilterConfiguration to return only those policies that have an Identity that begins with the string value site:.

-------------------------- Example 4 --------------------------

Copy Code
(Get-CsImFilterConfiguration -Identity Global).Prefixes

In Example 4 the value of the global instant message filter configuration’s Prefixes property is "expanded" when displayed onscreen; this simply means that the property and its values are shown in a more user-friendly, and more readable, format. To perform this task, Get-CsImFilterConfiguration is first used to retrieve the global instant message filter configuration. (Note that the call to Get-CsImFilterConfiguration is enclosed in parentheses. That tells PowerShell to first carry out the command enclosed in parentheses, and then continue on from there.) After the configuration has been retrieved the value of the Prefixes property is displayed.