Skip to content

Commit f719538

Browse files
authored
Merge pull request MicrosoftDocs#9436 from RuiPereiraTabares/patch-7
Update Set-CsAutoAttendant.md
2 parents a013bbf + 7d21af0 commit f719538

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

skype/skype-ps/skype/Set-CsAutoAttendant.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Set-CsAutoAttendant -Instance <Object> [-Tenant <Guid>] [<CommonParameters>]
2525
The Set-CsAutoAttendant cmdlet lets you modify the properties of an auto attendant. For example, you can change the operator, the greeting, or the menu prompts.
2626

2727

28+
2829
## EXAMPLES
2930

3031
### -------------------------- Example 1 --------------------------
@@ -94,7 +95,7 @@ $autoAttendant.CallHandlingAssociations
9495
# CallFlowId : e7dd255b-ee20-57f0-8a2b-fc403321e284
9596
# Enabled : True
9697
97-
$autoAttendant.CallHandlingAssociations.Remove(($autoAttendant.CallHandlingAssociations | where-object {$_.ScheduleId -eq "578745b2-1f94-4a38-844c-6bf6996463ee"}))
98+
$autoAttendant.CallHandlingAssociations = $autoAttendant.CallHandlingAssociations | where-object {$_.ScheduleId -ne "578745b2-1f94-4a38-844c-6bf6996463ee"}
9899
99100
$autoAttendant.CallFlows
100101
@@ -108,7 +109,7 @@ $autoAttendant.CallFlows
108109
# Greetings :
109110
# Menu : Christmas Menu
110111
111-
$autoAttendant.CallFlows.Remove(($autoAttendant.CallFlows | where-object {$_.Id -eq "8ab460f0-770c-4d30-a2ff-a6469718844f"}))
112+
$autoAttendant.CallFlows = $autoAttendant.CallFlows | where-object {$_.Id -ne "8ab460f0-770c-4d30-a2ff-a6469718844f"}
112113
113114
Set-CsAutoAttendant -Instance $autoAttendant
114115
```

0 commit comments

Comments
 (0)