Skip to content

Commit 00dfb37

Browse files
authored
Merge pull request #10722 from get-itips/patch-410
Correct attribute
2 parents dfda642 + 85c24b4 commit 00dfb37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

skype/skype-ps/skype/New-CsAutoAttendant.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can create new AAs by using the New-CsAutoAttendant cmdlet; each newly creat
3939

4040
### -------------------------- Example 1 --------------------------
4141
```powershell
42-
$operatorObjectId = (Get-CsOnlineUser [email protected]).ObjectId
42+
$operatorObjectId = (Get-CsOnlineUser [email protected]).Identity
4343
$operatorEntity = New-CsAutoAttendantCallableEntity -Identity $operatorObjectId -Type User
4444
4545
$greetingPrompt = New-CsAutoAttendantPrompt -TextToSpeechPrompt "Welcome to Contoso!"
@@ -76,7 +76,7 @@ This example creates a new AA named _Main auto attendant_ that has the following
7676

7777
### -------------------------- Example 2 --------------------------
7878
```powershell
79-
$operatorObjectId = (Get-CsOnlineUser [email protected]).ObjectId
79+
$operatorObjectId = (Get-CsOnlineUser [email protected]).Identity
8080
$operatorEntity = New-CsAutoAttendantCallableEntity -Identity $operatorObjectId -Type User
8181
8282
$dcfGreetingPrompt = New-CsAutoAttendantPrompt -TextToSpeechPrompt "Welcome to Contoso!"
@@ -214,9 +214,9 @@ $greetingText = "Welcome to Contoso"
214214
$mainMenuText = "To reach your party by name, say it now. To talk to Sales, please press 1. To talk to User2 press 2. Please press 0 for operator"
215215
$afterHoursText = "Sorry Contoso is closed. Please call back during week days from 7AM to 8PM. Goodbye!"
216216
$tz = "Romance Standard Time"
217-
$operatorId = (Get-CsOnlineUser -Identity "sip:[email protected]").ObjectId
218-
$user1Id = (Get-CsOnlineUser -Identity "sip:[email protected]").ObjectId
219-
$salesCQappinstance = (Get-CsOnlineUser -Identity "[email protected]").ObjectId # one of the application instances associated to the Call Queue
217+
$operatorId = (Get-CsOnlineUser -Identity "sip:[email protected]").Identity
218+
$user1Id = (Get-CsOnlineUser -Identity "sip:[email protected]").Identity
219+
$salesCQappinstance = (Get-CsOnlineUser -Identity "[email protected]").Identity # one of the application instances associated to the Call Queue
220220
$tr1 = New-CsOnlineTimeRange -Start 07:00 -End 20:00
221221
222222
# After hours

0 commit comments

Comments
 (0)