Set-CsIPPhonePolicy

 

上次修改主題的時間:2017-04-06

Use the Set-CsIPPhonePolicy cmdlet to modify the settings of the 商務用 Skype Online global IP phone policy. IP phone policies define the 商務用 Skype Online features that are available to users.

Set-CsIPPhonePolicy [-Identity <XdsIdentity>] <COMMON PARAMETERS>

Set-CsIPPhonePolicy [-Instance <PSObject>] <COMMON PARAMETERS>

COMMON PARAMETERS: [-Confirm [<SwitchParameter>]] [-DateTimeFormat <Int32>] [-EnableBetterTogetherOverEthernet <$true | $false>] [-EnableDeviceUpdate <$true | $false>] [-EnableExchangeCalendaring <$true | $false>] [-EnableOneTouchVoicemail <$true | $false>] [-EnablePowerSaveMode <$true | $false>] [-Force <SwitchParameter>] [-KeyboardLockMaxPinRetry <UInt64>] [-LocalProvisioningServerAddress <String>] [-LocalProvisioningServerPassword <String>] [-LocalProvisioningServerType <String>] [-LocalProvisioningServerUser <String>] [-PowerSaveDuringOfficeHoursTimeoutMS <UInt64>] [-PowerSavePostOfficeHoursTimeoutMS <UInt64>] [-PrioritizedCodecsList <String>] [-Tenant <Guid>] [-UserDialTimeoutMS <UInt64>] [-WhatIf [<SwitchParameter>]]

This example modifies the global IP phone policy UserDialTimeoutMS parameter to 10 seconds (10000 ms).

Set-CsIPPhonePolicy -UserDialTimeoutMS 10000

This example sets the EnablePowerSaveModeproperty, EnableOneTouchVoicemailvalues, and EnableDeviceUpdate parameters to $false.

Set-CsIPPhonePolicy -EnablePowerSaveMode $False -EnableOneTouchVoicemail $False -EnableDeviceUpdate $False

IP phone policies are applied each time a user accesses the system via an IP phone device. The Set-CsIPPhonePolicy cmdlet enables you to modify the global IP phone policy that has been configured in your organization.

 

Parameter Required Type Description

BetterTogetherOverEthernetPairingMode

Optional

System.String

Auto – The phone will get paired with BTOE app Automatically and no need for the user to enter the pairing code. Manual – The user needs to enter the pairing code manually to pair with the BTOE app.

DateTimeFormat

Optional

System.Int32

Specifies the time format to be used. The acceptable values are "24" for a 24 hour time format, or "12" for a 12 hour format. The default is "24".

Confirm

Optional

System.Management.Automation.SwitchParameter

在執行命令之前,提示您確認操作。

EnableBetterTogetherOverEthernet

Optional

System.Boolean

Specifies whether the Better Together Over Ethernet (BTOE) feature is enabled for users. If $true, and if the BTOE plugin is installed on the IP device, the user can tether the device to a PC and sign in to 商務用 Skype Online. The default is $true.

EnableDeviceUpdate

Optional

System.Boolean

Specifies whether the IP device will be updated by the 商務用 Skype Online service. If set to $true, IP devices will get firmware updates from the service, if $false the device will not be updated. The default is $true.

EnableExchangeCalendaring

Optional

System.Boolean

Specifies whether an IP device is enabled to connect to the Exchange Online calendaring service. If $true, users are able to connect to their Exchange calendars. If $false, users will not be enabled to connect to their calendars. The default is $true.

EnableOneTouchVoicemail

Optional

System.Boolean

Specifies whether the Visual Voicemail feature in 商務用 Skype Online is enabled. If set to $true, the feature is enabled, otherwise $false.

EnablePowerSaveMode

Optional

System.Boolean

If enabled, phone goes to power savings mode (display turns off) based on values of the PowerSaveDuringOfficeHoursTimeoutMS and PowerSavePostOfficeHoursTimeoutMS parameters.

Force

Optional

System.Management.Automation.SwitchParameter

Force 參數會指定是否抑制警告和確認訊息。這在撰寫指令碼以抑制互動式提示時可能很有用。如果命令中不提供 Force 參數,您會在必要時看到提示管理員輸入。

Identity

Optional

Microsoft.Rtc.Management.Xds.XdsIdentity

將保留此參數供 Microsoft 內部使用。

Instance

Optional

System.Management.Automation.PSObject

Allows you to pass a reference to an object to the cmdlet rather than set individual parameter values.

KeyboardLockMaxPinRetry

Optional

System.UInt64

Specifies the maximum number of retries allowed for phone unlock. The default is 5.

LocalProvisioningServerAddress

Optional

System.String

Specifies the address of the provisioning server for your organization.

LocalProvisioningServerPassword

Optional

System.String

Specifies the password for the provisioning server.

LocalProvisioningServerType

Optional

System.String

Specifies the server type for the phone. The default is FTP.

LocalProvisioningServerUser

Optional

System.String

Specifies a username for the provisioning server.

PowerSaveDuringOfficeHoursTimeoutMS

Optional

System.UInt64

Specifies the time in milliseconds to wait during office hours before turning on Power Save mode. The default is 900,000.

PowerSavePostOfficeHoursTimeoutMS

Optional

System.UInt64

Specifies the time in milliseconds to wait after office hours before turning on Power Save mode. The default is 300,000.

PrioritizedCodecsList

Optional

System.String

Specifies the order in which to prioritize codecs. The default is: "G722_8000;PCMU;PCMA;G729"

Tenant

Optional

System.Guid

將保留此參數供 Microsoft 內部使用。

UserDialTimeoutMS

Optional

System.UInt64

Specifies the time in milliseconds to wait in On-Hook mode before dialing out automatically. If a user enters a phone number and does not click dial, the system will dial the number after the number of milliseconds specified. The default is 5000.

WhatIf

Optional

System.Management.Automation.SwitchParameter

WhatIf 參數會導致此命令模擬其結果。使用此參數,您不需認可變更,就能檢視這些變更。

The Set-CsIPPhonePolicy cmdlet accepts pipelined instances of the Microsoft.Rtc.Management.WritableConfig.Policy.IPPhone.IPPhonePolicy object.

The Set-CsIPPhonePolicy cmdlet does not return a value or object. Instead, the cmdlet configures instances of the Microsoft.Rtc.Management.WritableConfig.Policy.IPPhone.IPPhonePolicy object.

 
顯示: