Edit

Share via


Set-CsSharedCallHistoryTemplate

Use the Set-CsSharedCallHistoryTemplate cmdlet to change a Shared Call History template. The template defines which roles can access Shared Call History and which parts of the history are visible to them.

Syntax

Default (Default)

Set-CsSharedCallHistoryTemplate
    -Instance <instance>
    [<CommonParameters>]

Description

Use the Set-SharedCallHistoryTemplate cmdlet to change a Shared Call History template. The template defines which roles can access Shared Call History and which parts of the history are visible to them.

Examples

Example 1

$SharedCallHistory = Get-CsSharedCallHistoryTemplate -Id 66f0dc32-d344-4bb1-b524-027d4635515c
$SharedCallHistory.AnsweredAndOutboundCalls = "AuthorizedUsersAndAgents"
Set-CsSharedCallHistoryTemplate -Instance $SharedCallHistory

This example sets the AnsweredOutboundCalls value in the Shared Call History Template with the Id 66f0dc32-d344-4bb1-b524-027d4635515c

Example 2

$SharedCallHistory = Get-CsSharedCallHistoryTemplate -Id 66f0dc32-d344-4bb1-b524-027d4635515c
$SharedCallHistory.IncomingRedirectedCalls = "AuthorizedUsersAndGroupMembers"
Set-CsSharedCallHistoryTemplate -Instance $SharedCallHistory

This example sets the IncomingRedirectedCalls value in the Shared Call History Template with the Id 66f0dc32-d344-4bb1-b524-027d4635515c

Parameters

-Instance

The instance of the shared call history template to change.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Microsoft.Rtc.Management.OAA.Models.AutoAttendant