Skip to content

Commit e93938e

Browse files
authored
Update Set-CsOrganizationalAutoAttendant.md
1 parent 01a48f4 commit e93938e

File tree

1 file changed

+1
-169
lines changed

1 file changed

+1
-169
lines changed

skype/skype-ps/skype/Set-CsOrganizationalAutoAttendant.md

Lines changed: 1 addition & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -14,174 +14,6 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616
> [!CAUTION]
17-
> This cmdlet has been deprecated and is no longer supported. This cmdlet will be removed in the near future.
17+
> This cmdlet has been deprecated and is no longer supported.
1818
>
1919
> Please use [Set-CsAutoAttendant](Set-CsAutoAttendant.md) cmdlet instead.
20-
21-
22-
Use the Set-CsOrganizationalAutoAttendant cmdlet to modify the properties of an existing Auto Attendant (AA).
23-
24-
## SYNTAX
25-
26-
```
27-
Set-CsOrganizationalAutoAttendant [-Instance] <OrgAutoAttendant> [-Tenant <Guid>]
28-
[-DomainController <Fqdn>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
29-
```
30-
31-
## DESCRIPTION
32-
The Set-CsOrganizationalAutoAttendant cmdlet lets you modify the properties of an auto attendant. For example, you can change the phone number, the operator, the greeting, or the menu prompts.
33-
34-
35-
## EXAMPLES
36-
37-
### -------------------------- Example 1 --------------------------
38-
```
39-
$oaa = Get-CsOrganizationalAutoAttendant -PrimaryUri "sip:[email protected]"
40-
$oaa.LineUris = @([System.Uri] "tel:+11098765432")
41-
Set-CsOrganizationalAutoAttendant -Instance $oaa
42-
```
43-
44-
This example changes the telephone number for the OAA that has a Primary URI of sip:mainoaa@contoso.com.
45-
46-
### -------------------------- Example 2 --------------------------
47-
```
48-
$oaa = Get-CsOrganizationalAutoAttendant -PrimaryUri "sip:[email protected]"
49-
50-
$christmasGreetingPrompt = New-CsOrganizationalAutoAttendantPrompt -TextToSpeechPrompt "Our offices are closed for Christmas from December 24 to December 26. Please call back later."
51-
$christmasMenuOption = New-CsOrganizationalAutoAttendantMenuOption -Action DisconnectCall -DtmfResponse Automatic
52-
$christmasMenu = New-CsOrganizationalAutoAttendantMenu -Name "Christmas Menu" -MenuOptions @($christmasMenuOption)
53-
$christmasCallFlow = New-CsOrganizationalAutoAttendantCallFlow -Name "Christmas" -Greetings @($christmasGreetingPrompt) -Menu $christmasMenu
54-
55-
$dtr = New-CsOnlineDateTimeRange -Start "24/12/2017" -End "26/12/2017"
56-
$christmasSchedule = New-CsOnlineSchedule -Name "Christmas" -FixedSchedule -DateTimeRanges @($dtr)
57-
58-
$christmasCallHandlingAssociation = New-CsOrganizationalAutoAttendantCallHandlingAssociation -Type Holiday -ScheduleId $christmasSchedule.Id -CallFlowId $christmasCallFlow.Id
59-
60-
$oaa.CallFlows = $oaa.CallFlows + @($christmasCallFlow)
61-
$oaa.Schedules = $oaa.Schedules + @($christmasSchedule)
62-
$oaa.CallHandlingAssociations = $oaa.CallHandlingAssociations + @($christmasCallHandlingAssociation)
63-
64-
Set-CsOrganizationalAutoAttendant -Instance $oaa
65-
```
66-
67-
This example adds a Christmas holiday to an OAA that a Primary URI of sip:mainoaa@contoso.com.
68-
69-
## PARAMETERS
70-
71-
### -Instance
72-
The Instance parameter is the object reference to the OAA to be modified.
73-
74-
You can retrieve an object reference to an existing OAA by using the Get-CsOrganizationalAutoAttendant cmdlet and assigning the returned value to a variable.
75-
76-
```yaml
77-
Type: OrgAutoAttendant
78-
Parameter Sets: (All)
79-
Aliases:
80-
Applicable: Skype for Business Online
81-
82-
Required: True
83-
Position: 1
84-
Default value: None
85-
Accept pipeline input: False
86-
Accept wildcard characters: False
87-
```
88-
89-
### -Tenant
90-
91-
```yaml
92-
Type: Guid
93-
Parameter Sets: (All)
94-
Aliases:
95-
Applicable: Skype for Business Online
96-
97-
Required: False
98-
Position: Named
99-
Default value: None
100-
Accept pipeline input: False
101-
Accept wildcard characters: False
102-
```
103-
104-
### -Confirm
105-
Prompts you for confirmation before running the cmdlet.
106-
107-
```yaml
108-
Type: SwitchParameter
109-
Parameter Sets: (All)
110-
Aliases: cf
111-
112-
Required: False
113-
Position: Named
114-
Default value: None
115-
Accept pipeline input: False
116-
Accept wildcard characters: False
117-
```
118-
119-
### -DomainController
120-
{{Fill DomainController Description}}
121-
122-
```yaml
123-
Type: Fqdn
124-
Parameter Sets: (All)
125-
Aliases: DC
126-
127-
Required: False
128-
Position: Named
129-
Default value: None
130-
Accept pipeline input: False
131-
Accept wildcard characters: False
132-
```
133-
134-
### -Force
135-
{{Fill Force Description}}
136-
137-
```yaml
138-
Type: SwitchParameter
139-
Parameter Sets: (All)
140-
Aliases:
141-
142-
Required: False
143-
Position: Named
144-
Default value: None
145-
Accept pipeline input: False
146-
Accept wildcard characters: False
147-
```
148-
149-
### -WhatIf
150-
Shows what would happen if the cmdlet runs.
151-
The cmdlet is not run.
152-
153-
```yaml
154-
Type: SwitchParameter
155-
Parameter Sets: (All)
156-
Aliases: wi
157-
158-
Required: False
159-
Position: Named
160-
Default value: None
161-
Accept pipeline input: False
162-
Accept wildcard characters: False
163-
```
164-
165-
### CommonParameters
166-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
167-
168-
## INPUTS
169-
170-
### Microsoft.Rtc.Management.Hosted.OAA.Models.OrgAutoAttendant
171-
The Set-CsOrganizationalAutoAttendant cmdlet accepts a Microsoft.Rtc.Management.Hosted.OAA.Models.OrgAutoAttendant object as the Instance parameter.
172-
173-
174-
## OUTPUTS
175-
176-
### None
177-
The Set-CsOrganizationalAutoAttendant cmdlet does not return any objects or values. Instead, the cmdlet modifies the instance of the Microsoft.Rtc.Management.Hosted.OAA.Models.OrgAutoAttendant object that is passed in as the Instance parameter.
178-
179-
180-
## NOTES
181-
182-
## RELATED LINKS
183-
184-
[New-CsOrganizationalAutoAttendant](New-CsOrganizationalAutoAttendant.md)
185-
186-
[Get-CsOrganizationalAutoAttendant](Get-CsOrganizationalAutoAttendant.md)
187-

0 commit comments

Comments
 (0)