File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ $autoAttendant.CallHandlingAssociations
94
94
# CallFlowId : e7dd255b-ee20-57f0-8a2b-fc403321e284
95
95
# Enabled : True
96
96
97
- $autoAttendant.CallHandlingAssociations = $autoAttendant.CallHandlingAssociations | Where-Object {$_.ScheduleId -ne "578745b2-1f94-4a38-844c-6bf6996463ee"}
97
+ $autoAttendant.CallHandlingAssociations.Remove(( $autoAttendant.CallHandlingAssociations | where-object {$_.ScheduleId -eq "578745b2-1f94-4a38-844c-6bf6996463ee"}))
98
98
99
99
$autoAttendant.CallFlows
100
100
@@ -108,7 +108,7 @@ $autoAttendant.CallFlows
108
108
# Greetings :
109
109
# Menu : Christmas Menu
110
110
111
- $autoAttendant.CallFlows = $autoAttendant.CallFlows | Where-Object {$_.Id -ne "8ab460f0-770c-4d30-a2ff-a6469718844f"}
111
+ $autoAttendant.CallFlows.Remove(( $autoAttendant.CallFlows | where-object {$_.Id -eq "8ab460f0-770c-4d30-a2ff-a6469718844f"}))
112
112
113
113
Set-CsAutoAttendant -Instance $autoAttendant
114
114
```
You can’t perform that action at this time.
0 commit comments