Lync Server Admin Guide: Filtering Instant Messages and Client Versions


 

 

Configuring Filtering for Instant Messaging (IM)

 

Modify the Default File Transfer Filter

 

  • To modify the default file transfer filter

 

To modify the default file transfer filter, use the Set-CsFileTransferFilterConfiguration cmdlet and set the Identity to global. For example, this command adds the file extension .ps1 (the file extension used for Windows PowerShell scripts) to the set of file types that cannot be transferred using Microsoft Lync:

 

Set-CsFileTransferFilterConfiguration -Identity global -Extensions @{Add=".ps1"}

 

And this command removes the .ps1 file extension from the list of file types that cannot be transferred using Microsoft Lync:

 

Set-CsFileTransferFilterConfiguration -Identity global -Extensions @{Remove=".ps1"}

 

 

Create a New File Transfer Filter for a Specific Site

 

  • To create a file transfer filter for a specific site

 

To create a new collection of file transfer filter configuration settings, use the New-CsFileTransferFilterConfiguration cmdlet:

 

New-CsFileTransferFilterConfiguration -Identity site:Redmond -Extensions @{Add=".ps1"}

 

 

Modify the Default URL Filter

 

To modify the default URL filter, use the Set-CsFileTransferFilterConfiguration cmdlet and set the Identity to global. For example, this command adds the prefix .urn to the set of Uniform Resource Identifiers (URIs) that either cannot be included in an instant message or cannot be configured as a clickable link within an instant message:

 

Set-CsImFilterConfiguration -Identity global -Prefixes @{Add="urn:"}

 

This command removes the prefix .urn from the collection of blocked URIs:

 

Set-CsImFilterConfiguration -Identity global -Prefixes @{Remove="urn:"}

 

 

Create a New URL Filter to Handle Hyperlinks in IM Conversations

 

  • To create a new URL filter

 

To create a new collection of URL filter configuration settings use the New-CsImFilterConfiguration cmdlet:

 

Set-CsImFilterConfiguration -Identity "site:Redmond" -Prefixes @{Add="urn:"}

 

For more information

 

 

 

 

Specify Client Versions Supported for Sign-in by a User

 

  • To assign a per-user client version policy

 

To assign a per-user client version policy, use the Grant-CsClientVersionPolicy cmdlet:

 

Grant-CsClientVersionPolicy –Identity "Ken Myer" –PolicyName "RedmondClientVersionPolicy"

 

To unassign a per-user policy, use the Grant-CsClientVersionPolicy cmdlet and set the PolicyName parameter to a null value:

 

Grant-CsClientVersionPolicy –Identity "Ken Myer" –PolicyName $Null

 

 

For more information

 

 

 

 

Skip to main content