nerdexam
Microsoft

MS-700 · Question #262

Hotspot Question You have the following PowerShell script. $dt = New-CsOnlineDateTimeRange -Start "24/11/2025" -End "26/11/2025" $ChristmasSchedule = New-CsOnlineSchedule -Name "Christmas"…

See the full explanation below for the reasoning.

Manage meetings and calling

Question

Hotspot Question You have the following PowerShell script. $dt = New-CsOnlineDateTimeRange -Start "24/11/2025" -End "26/11/2025" $ChristmasSchedule = New-CsOnlineSchedule -Name "Christmas" -FixedSchedule -DateOnlyTimeRanges (@($dt)) $defaultCallflow = New-CsAutoAttendantCallflow -Name "Default call flow" -Greetings @($dcfgreetingPrompt) $ChristmasGreetingPrompt = New-CsAutoAttendantPrompt -TextToSpeechPrompt "Our offices are closed for Christmas from December 24 to December 26. Please call back later." $ChristmasCallflow = New-CsAutoAttendantCallflow -Action DisconnectCall -OverflowResponse Automatic $ChristmasMenu = New-CsAutoAttendantMenu -Name "Christmas Menu" -MenuItems @($ChristmasMenuOption) $ChristmasCallflow = New-CsAutoAttendantCallflow -Name "Christmas" -Greetings @($ChristmasGreetingPrompt) -Menu $ChristmasMenu $ChristmasCallHandlingAssociation = New-CsAutoAttendantCallHandlingAssociation -Type Holiday -ScheduleId $ChristmasSchedule.Id -CallflowId $ChristmasCallflow.Id New-CsAutoAttendant -Name "Customer Support Auto Attendant" -DefaultCallflow @($afterHoursCallHandlingAssociation, $defaultCallflow) -CallHandlingAssociations @($afterHoursCallHandlingAssociation) @($afterHoursCallHandlingAssociation, $afterHoursCallHandlingAssociation) -LanguageId "en-US" -TimeZoneId "UTC" $dcfgreetingPrompt = New-CsAutoAttendantPrompt -TextToSpeechPrompt "Welcome to Wingtip Toys Store!" $dcfMenu = New-CsAutoAttendantMenu -Name "Default menu" $defaultCallflow = New-CsAutoAttendantCallflow -Name "Default call flow" -Greetings @($dcfgreetingPrompt) -Menu $dcfMenu $ChristmasGreetingPrompt = New-CsAutoAttendantPrompt -TextToSpeechPrompt "Our offices are closed for Christmas from December 24 to December 26. Please call back later." $ChristmasCallflow = New-CsAutoAttendantCallflow -Action DisconnectCall -OverflowResponse Automatic $ChristmasMenu = New-CsAutoAttendantMenu -Name "Christmas Menu" -MenuItems @($ChristmasMenuOption) $ChristmasCallflow = New-CsAutoAttendantCallflow -Name "Christmas" -Greetings @($ChristmasGreetingPrompt) -Menu $ChristmasMenu $ChristmasCallHandlingAssociation = New-CsAutoAttendantCallHandlingAssociation -Type Holiday -ScheduleId $ChristmasSchedule.Id -CallflowId $ChristmasCallflow.Id New-CsAutoAttendant -Name "Main auto attendant" -DefaultCallflow @($defaultCallflow) -Callflows @($afterHoursCallflow, $ChristmasCallflow) -CallHandlingAssociations @($afterHoursCallHandlingAssociation, $afterHoursCallHandlingAssociation) -LanguageId "en-US" -TimeZoneId "UTC" For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Statements:
  • The script will configure an after-hours call flow.
  • The script will enable interactive voice response (IVR) for both call flows.
  • ChristmasSchedule can be updated to meet the call handling requirements.

Exhibit

MS-700 question #262 exhibit

Topics

#Auto Attendants#Call Flows#Teams PowerShell#Call Handling Schedules

Community Discussion

No community discussion yet for this question.

Full MS-700 Practice