UI-to-PowerShell Mapping

 

The Edit File Filter Dialog

 

File transfer filter settings are used to block a user’s ability to transfer certain types of files (e.g., files with a .vbs or .ps1 file extension) using Microsoft Lync 2010.

 

To access the file filter configuration settings in the Lync Server Control Panel, click the IM and Presence tab and then click File Filter.

 

The Edit File Filter dialog and the New File Filter dialog correspond to the properties and parameters of the following cmdlets:

 

·         Get-CsFileTransferFilterConfiguration, which is used to retrieve information about your file transfer configuration settings:

Get-CsFileTransferFilterConfiguration

·         New-CsFileTransferFilterConfiguration, which is used to create a new collection of file transfer configuration settings at the site scope:

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

·         Remove-CsFileTransferFilterConfiguration, which is used to remove file transfer settings configured at the site scope, or to reset the property values of the global configuration settings:

Remove-CsFileTransferFilterConfiguration –Identity site:Redmond

·         Set-CsFileTransferFilterConfiguration, which is used to modify an existing collection of file transfer configuration settings:

Set-CsFileTransferFilterConfiguration -Identity site:Redmond -Extensions @{Remove=".ps1"}

 

The Edit Archiving Setting dialog is shown below, along with the corresponding parameter names found in New-CsFileTransferFilterConfiguration and Set-CsFileTransferFilterConfiguration:

 

 

For more information about the CsFileTransferFilterConfiguration cmdlets, type Get-Help cmdlet_name –Full | more at the Lync Server Management Shell prompt. For example:

 

Get-Help Set-CsFileTransferFilterConfiguration –Full | more