Set-CsOrganizationalAutoAttendant

 

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

Use the Set-CsOrganizationalAutoAttendant cmdlet to modify the properties of an existing Organizational Auto Attendant (OAA).

Set-CsOrganizationalAutoAttendant -Instance <OrgAutoAttendant> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Tenant <Guid>] [-WhatIf [<SwitchParameter>]]

This example changes the telephone number for the OAA that has a Primary URI of sip:mainoaa@contoso.com.

$oaa = Get-CsOrganizationalAutoAttendant -PrimaryUri "sip:mainoaa@contoso.com"
$oaa.LineUris = [System.Uri] "tel:+##########"
Set-CsOrganizationalAutoAttendant -Instance $oaa

The Set-CsOrganizationalAutoAttendant cmdlet lets you modify the properties of an OAA. For example, you can change the phone number, the operator, the greeting, or the menu prompts.

 

Parameter Required Type Description

Instance

Required

Microsoft.Rtc.Management.Hosted.OAA.Models.OrgAutoAttendant

The Instance parameter is the object reference to the OAA to be modified.

You can retrieve an object reference to an existing OAA by using the Get-CsOrganizationalAutoAttendant cmdlet and assigning the returned value to a variable.

Confirm

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

PARAMVALUE: Fqdn

Force

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

Tenant

Optional

System.Guid

PARAMVALUE: Guid

WhatIf

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

The Set-CsOrganizationalAutoAttendant cmdlet accepts a Microsoft.Rtc.Management.Hosted.OAA.Models.OrgAutoAttendant object as the Instance parameter.

The Set-CsOrganizationalAutoAttendant cmdlet does not return any objects or values. Instead, the cmdlet modifies the instance of the Microsoft.Rtc.Management.Hosted.OAA.Models.OrgAutoAttendant object that is passed in as the Instance parameter.

 
顯示: