Compartir a través de


Lync Server Admin Guide: Configuring Security

This article is part of the Microsoft Lync Server 2010 Administration Guide: PowerShell Supplement.

Create a New Registrar

  • To create a Registrar

To create a new collection of proxy configuration settings, use the New-CsProxyConfiguration cmdlet:

New-CsProxyConfiguration -Identity "service:Registrar:atl-cs-001.litwareinc.com" -UseCertificateForClientToProxyAuth $True –UseKerberosForClientToProxyAuth $True –UseNtlmForClientToProxyAuth $True

 

 

For more information

 

 

 

Modify an Existing Registrar

  • To modify an existing Registrar

To modify an existing collection of proxy configuration settings, use the Set-CsProxyConfiguration cmdlet:

Set-CsProxyConfiguration -Identity "service:Registrar:atl-cs-001.litwareinc.com" -UseCertificateForClientToProxyAuth $False

For more information

Delete a Registrar

  • To delete a Registrar

To delete a collection of proxy configuration settings, use the Remove-CsProxyConfiguration cmdlet:

Remove-CsProxyConfiguration -Identity "service:Registrar:atl-cs-001.litwareinc.com"

 

This command removes all the proxy configuration settings assigned to the service scope:

 

Get-CsProxyConfiguration –Filter "service:*" | Remove-CsProxyConfiguration

 

And this command removes all the proxy configuration settings assigned to your Registrars:

 

Get-CsProxyConfiguration –Filter "service:Registrar:*" | Remove-CsProxyConfiguration

For more information

Create a New Web Service

  • To create a Web Service

To create a new collection of Web Service configuration settings, use the New-CsWebServiceConfiguration cmdlet:

New-CsWebServiceConfiguration -Identity site:Redmond –UseWindowsAuth Negotiate –UsePinAuth $False

 

 

For more information

 

Modify an Existing Web Service

  • To modify an existing Web Service

To modify an existing collection of Web Service configuration settings, use the Set-CsWebServiceConfiguration cmdlet:

 

Set-CsWebServiceConfiguration -Identity site:Redmond –UseWindowsAuth None –UsePinAuth $True

For more information

Delete a Web Service

  • To delete a Web Service policy

To delete an existing collection of Web Service configuration settings, use the Remove-CsWebServiceConfiguration cmdlet:

Remove-CsWebServiceConfiguration -Identity site:Redmond

 

This command deletes all the Web Service configuration settings assigned to the site scope:

 

Get-CsWebServiceConfiguration –Filter "site:*" | Remove-CsWebServiceConfiguration

For more information

Create a New PIN Policy

  • To create a user or site PIN policy

To create a new per-user or per-site PIN policy, use the New-CsPinPolicy cmdlet:

New-CsPinPolicy –Identity "site:Redmond" –MinPasswordLength 8

For more information

Modify an Existing PIN Policy

  • To modify an existing PIN policy

To modify an existing PIN policy, use the Set-CsPinPolicy cmdlet:

Set-CsPinPolicy –Identity "site:Redmond" –MinPasswordLength 6

For more information

Delete a PIN Policy

  • To delete a PIN policy

To remove a PIN policy, use the Remove-CsPinPolicy cmdlet:

Remove-CsPinPolicy –Identity "site:Redmond"

 

This command removes all the PIN policies configured at the site scope:

Get-CsPinPolicy –Filter "site:*" | Remove-CsPinPolicy

 

And this command removes all the per-user PIN policies:

Get-CsPinPolicy –Filter "tag:*" | Remove-CsPinPolicy

For more information