Get-CsOrganizationalAutoAttendant

 

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

Use the Get-CsOrganizationalAutoAttendant cmdlet to get information about Organizational Auto Attendants (OAAs).

Get-CsOrganizationalAutoAttendant -PrimaryUri <Uri> [-ApplicationId <Guid>] <COMMON PARAMETERS>

Get-CsOrganizationalAutoAttendant [-ApplicationId <Guid>] [-First <UInt64>] [-IncludeStatus <SwitchParameter>] [-Skip <UInt64>] <COMMON PARAMETERS>

COMMON PARAMETERS: [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Tenant <Guid>]

This example gets all OAAs in the organization.

Get-CsOrganizationalAutoAttendant

This example gets the OAAs that has the Primary URI of sip:mainoaa@contoso.com.

Get-CsOrganizationalAutoAttendant -PrimaryUri sip:mainoaa@contoso.com

This example gets the first ten organizational auto attendants configured for use in the organization.

Get-CsOrganizationalAutoAttendant -First 10

This example skips initial 5 organizational auto attendants and gets the next 10 OAAs configured for use in the organization.

Get-CsOrganizationalAutoAttendant -Skip 5 -First 10

The Get-CsOrganizationalAutoAttendant cmdlet returns information about the OAAs in your organization.

 

Parameter Required Type Description

PrimaryUri

Required

System.Uri

The PrimaryUri parameter represents the SIP address for the OAA to be retrieved. If this parameter is not specified, then all created OAAs in the organization are returned.

ApplicationId

Optional

System.Guid

PARAMVALUE: Guid

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

PARAMVALUE: Fqdn

First

Optional

System.UInt64

The First parameter indicates the maximum number of organizational auto attendants to retrieve as the result. It is intended to be used for pagination purposes.

Force

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

IncludeStatus

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

Skip

Optional

System.UInt64

The Skip parameter indicates the number of initial organizational auto attendants to skip in the result. It is intended to be used for pagination purposes.

Tenant

Optional

System.Guid

PARAMVALUE: Guid

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

The Get-CsOrganizationalAutoAttendant cmdlet accepts a string as the PrimaryUri parameter.

The Get-CsOrganizationalAutoAttendant cmdlet returns instances of the Microsoft.Rtc.Management.Hosted.OAA.Models.OrgAutoAttendant object.

 
顯示: