Get-CsOrganizationalAutoAttendant

 

Topic Last Modified: 2017-03-28

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

Get-CsOrganizationalAutoAttendant [-PrimaryUri <Uri>]  [-First <UInt64>] [-Skip <UInt64>]

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

Optional

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.

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.

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.

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.

 
Show: