New-CsOrganizationalAutoAttendantMenu

The New-CsOrganizationalAutoAttendantMenu cmdlet creates a new menu.

Syntax

New-CsOrganizationalAutoAttendantMenu
   -Name <String>
   -MenuOptions <List>
   [-Prompts <List>]
   [-EnableDialByName]
   [-Tenant <Guid>]
   [<CommonParameters>]

Description

The New-CsOrganizationalAutoAttendantMenu cmdlet creates a new menu for the Auto Attendant (AA) service. The OAA service uses menus to provide callers with choices, and then takes action based on the selection.

Examples

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

$menuPrompt = New-CsOrganizationalAutoAttendantPrompt -TextToSpeechPrompt "To reach your party by name, enter it now, followed by the pound sign."
$menu = New-CsOrganizationalAutoAttendantMenu -Name "Default Menu" -Prompts @($menuPrompt) -EnableDialByName

This example creates a new menu that allows the caller to reach a target by name.

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

$menuOptionZero = New-CsOrganizationalAutoAttendantMenuOption -Action TransferCallToOperator -DtmfResponse Tone0
$menuPrompt = New-CsOrganizationalAutoAttendantPrompt -TextToSpeechPrompt "To reach your party by name, enter it now, followed by the pound sign. For operator, press zero."
$menu = New-CsOrganizationalAutoAttendantMenu -Name "Default Menu" -Prompts @($menuPrompt) -MenuOptions @($menuOptionZero) -EnableDialByName

This example creates a new menu that allows the caller to reach a target by name or the operator by pressing the 0 key.

Optional Parameters

-EnableDialByName

The EnableDialByName parameter lets users do a directory search by recipient name and get transferred to the party.

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

The MenuOptions parameter is a list of menu options for this menu. These menu options specify what action to take when the user sends a particular input.

You can create menu options by using the New-CsOrganizationalAutoAttendantMenuOption cmdlet.

Type:System.Collections.Generic.List
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Name

The Name parameter represents a friendly name for the menu.

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

The Prompts parameter reflects the prompts to play when the menu is activated.

You can create new prompts by using the New-CsOrganizationalAutoAttendantPrompt cmdlet.

Type:Object
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

None

Outputs

Microsoft.Rtc.Management.Hosted.OAA.Models.Menu