編輯

共用方式為


Set-CsTeamsCallParkPolicy

The TeamsCallParkPolicy controls whether or not users are able to leverage the call park feature in Microsoft Teams. Call park allows enterprise voice customers to place a call on hold and then perform a number of actions on that call: transfer to another department, retrieve via the same phone, or retrieve via a different Teams phone. The Set-CsTeamsCallParkPolicy cmdlet lets you update a policy that has already been created for your organization.

NOTE: The call park feature is currently available in desktop, mobile, and web clients. Supported with TeamsOnly mode.

Syntax

Set-CsTeamsCallParkPolicy
   [-AllowCallPark <Boolean>]
   [-Description <String>]
   [[-Identity] <String>]
   [-ParkTimeoutSeconds <Int64>]
   [-PickupRangeEnd <Int64>]
   [-PickupRangeStart <Int64>]
   [-MsftInternalProcessingMode <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CsTeamsCallParkPolicy
   [-Tenant <System.Guid>]
   [-AllowCallPark <Boolean>]
   [-PickupRangeStart <Integer>]
   [-PickupRangeEnd <Integer>]
   [-ParkTimeoutSeconds <Integer>]
   [[-Identity] <XdsIdentity>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CsTeamsCallParkPolicy
   [-Tenant <System.Guid>]
   [-AllowCallPark <Boolean>]
   [-Instance <PSObject>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The TeamsCallParkPolicy controls whether or not users are able to leverage the call park feature in Microsoft Teams. Call park allows enterprise voice customers to place a call on hold and then perform a number of actions on that call: transfer to another department, retrieve via the same phone, or retrieve via a different phone. The Set-CsTeamsCallParkPolicy cmdlet lets you update a policy that has already been created for your organization.

Examples

Example 1

PS C:\> Set-CsTeamsCallParkPolicy -Identity SalesPolicy -AllowCallPark $true

Update the existing policy "SalesPolicy" to enable the call park feature.

Example 2

PS C:\> Set-CsTeamsCallParkPolicy -Identity "SalesPolicy" -PickupRangeStart 500 -PickupRangeEnd 1500

Update the existing policy "SalesPolicy" to generate pickup numbers starting from 500 and up until 1500.

Example 3

PS C:\> New-CsTeamsCallParkPolicy -Identity "SalesPolicy" -ParkTimeoutSeconds 600

Update the existing policy "SalesPolicy" to ring back the parker after 600 seconds if the parked call is unanswered

Parameters

-AllowCallPark

If set to true, customers will be able to leverage the call park feature to place calls on hold and then decide how the call should be handled - transferred to another department, retrieved using the same phone, or retrieved using a different phone.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

Description of the policy.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Suppress all non-fatal errors

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Identity

The unique identifier of the policy being updated.

Type:XdsIdentity
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Instance

This parameter is used when piping a specific policy retrieved from Get-CsTeamsCallParkPolicy that you then want to update.

Type:PSObject
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-MsftInternalProcessingMode

For Internal use only.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ParkTimeoutSeconds

Specify the number of seconds to wait before ringing the parker when the parked call hasn't been picked up. Value can be from 120 to 1800 (seconds).

Type:Integer
Position:Named
Default value:300
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PickupRangeEnd

Specify the maximum value that a rendered pickup code can take. Value can be from 10 to 9999.

Note: PickupRangeStart must be smaller than PickupRangeEnd.

Type:Integer
Position:Named
Default value:99
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PickupRangeStart

Specify the minimum value that a rendered pickup code can take. Value can be from 10 to 9999.

Note: PickupRangeStart must be smaller than PickupRangeEnd.

Type:Integer
Position:Named
Default value:10
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Tenant

Internal Microsoft use only.

Type:System.Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.Management.Automation.PSObject

Outputs

System.Object