Get-CsOrganizationalAutoAttendant

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

Syntax

Get-CsOrganizationalAutoAttendant
   [-PrimaryUri] <Uri>
   [-First <UInt64>]
   [-Skip <UInt64>]
   [-IncludeStatus]
   [-ApplicationId <Guid>]
   [-Tenant <Guid>]
   [<CommonParameters>]

Description

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

Examples

-------------------------- Example 1 --------------------------

Get-CsOrganizationalAutoAttendant

This example gets all OAAs in the organization.

-------------------------- Example 2 --------------------------

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

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

-------------------------- Example 3 --------------------------

Get-CsOrganizationalAutoAttendant -First 10

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

-------------------------- Example 4 --------------------------

Get-CsOrganizationalAutoAttendant -Skip 5 -First 10

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

Required Parameters

-PrimaryUri

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.

Type:System.Uri
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Optional Parameters

-ApplicationId

Specifies a custom application ID to use for auto attendants. This parameter is reserved for Microsoft internal use only.

Type:System.Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-First

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

Type:System.UInt64
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-IncludeStatus

If specified, the status records for each auto attendant in the result set are also retrieved.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Skip

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

Type:System.UInt64
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Tenant
Type:System.Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Inputs

String

The String is used as the PrimaryUri input.

Outputs

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