共用方式為


Lync Server Admin Guide: Configuring Support for Clients and Devices

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

Specify the Client Versions Supported in Your Organization

  • To edit the default client version policy

As a general rule, client version policies are most-easily edited by modifying the client version policy rules associated with those policies. However, there might be times when you find it useful to use the Set-CsClientVersionPolicy cmdlet to directly modify a policy. For example, the following set of commands removes all the current client version policy rules from the Redmond site policy, copies the client version policy rules from the Dublin site policy, then assigns those same rules to the Redmond site:

Set-CsClientVersionPolicy -Identity site:Redmond -Rules $Null

 

$x = Get-CsClientVersionPolicy -Identity site:Dublin | Select-Object -ExpandProperty Rules

 

Set-CsClientVersionPolicy -Identity site:Redmond -Rules $x

 

For more information

 

View the Status of Services Running on a Computer

  • To view the status of services running on a computer

To view the status of all the Lync Server services running on all of your computers, use the following command:

Get-CsService | Select-Object Role, PoolFqdn | Sort-Object PoolFqdn, Role

To view the services running on a specific computer, use this command, replacing atl-cs-001.litwareinc.com with the fully qualified domain name of the computer to be viewed:

Get-CsService | Where-Object {$_.PoolFqdn –eq "atl-cs-001.litwareinc.com"} | Select-Object Role, PoolFqdn | Sort-Object PoolFqdn, Role

 

 

For more information

 

Modify the Default Action for Clients Not Explicitly Supported or Restricted

  • To modify the default action for clients not explicitly supported or restricted

To modify the default action for client applications that do not appear in a client version policy, use the Set-CsClientVersionConfiguration cmdlet and set the value of the DefaultAction property.

Set-CsClientVersionConfiguration –Identity global -DefaultAction "BlockWithUrl" -DefaultURL "https://litwareinc.com/csclients"

 

  • To disable client version control

To disable client version control, use the Set-CsClientVersionConfiguration cmdlet and set the Enabled property to False:

Set-CsClientVersionConfiguration –Identity global –Enabled $False

 

To enable client version control, set the Enabled property to True:

Set-CsClientVersionConfiguration –Identity global –Enabled $True

 

For more information:

 

View Software Updates for Devices in Your Organization

  • To view software updates for UC devices

To review all the device update rules currently in use in your organization, use the Get-CsDeviceUpdateRule cmdlet:

 

Get-CsDeviceUpdateRule

 

This command returns all the device update rules assigned to a specified Web Server:

 

Get-CsDeviceUpdateRule -Filter "service:WebServer:atl-cs-001.litwareinc.com*"

 

To approve a device update rule for widespread use, use the Approve-CsDeviceUpdate cmdlet:

Approve-CsDeviceUpdateRule -Identity service:WebServer:atl-cs-001.litwareinc.com/d5ce3c10-2588-420a-82ac-dc2d9b1222ff9

To reject a device update rule, use the Reset-CsDeviceUpdateRule cmdlet:

 

Reset-CsDeviceUpdateRule -Identity service:WebServer:atl-cs-001.litwareinc.com/d5ce3c10-2588-420a-82ac-dc2d9b1222ff9

To rollback a previously-approved device update rule, use the Restore-CsDeviceUpdateRule cmdlet:

Restore-CsDeviceUpdateRule -Identity service:WebServer:atl-cs-001.litwareinc.com/d5ce3c10-2588-420a-82ac-dc2d9b1222ff9

For more information

Add a Device to Test Update Functionality

  • To add a test device

The New-CsTestDevice cmdlet enables you to create a new test device. The following command creates a new test device, using the serial number of the device as the unique identifier:

 

New-CsTestDevice -Identity site:Redmond/UCPhone -IdentifierType SerialNumber -Identifier "07823-A345"

For more information

Modify Settings for Log Files of Device Update Activity

  • To change logging settings

To modify logging settings for the device update service, use the Set-CsDeviceUpdateConfiguration cmdlet:

Set-CsDeviceUpdateConfiguration -Identity global -MaxLogFileSize 2048000 -MaxLogCacheLimit 1024000

 

For more information

Configure Security Settings for Lync 2010 Phone Edition

  • To configure security settings for Lync 2010 Phone Edition

To change the security mode for Lync 2010 Phone Edition, use the Set-CsUCPhoneConfiguration cmdlet:

Set-CsUCPhoneConfiguration -Identity global -SIPSecurityMode "Medium"

For more information

Configure Voice Quality of Service for Lync 2010 Phone Edition

  • To configure Voice Quality of Service for Lync 2010 Phone Edition

To modify the quality of service settings for Lync 2010 Phone Edition, use the Set-CsUCPhoneConfiguration cmdlet and the VoiceDiffServTag property:

Set-CsUCPhoneConfiguration -Identity global –VoiceDiffServTag 50

 

For more information

 

 

 

Configure Phone Lock for Lync 2010 Phone Edition

  • To configure the phone lock

To enforce phone locking for Lync 2010 Phone Edition, use the Set-CsUCPhoneConfiguration cmdlet and set the EnforcePhoneLock property to True. If desired, you can also change the value of the PhoneLockTimeout property:

Set-CsUCPhoneConfiguration -Identity global –EnforcePhoneLock $True –PhoneLockTimeout 00:30:00

For more information