Skip to content

Commit e40e0e4

Browse files
Update Set-CsCallQueue.md
@kenwith cc: @roykuntz Updating the cmdlet sample for setting music on hold to use stored variable for the audio file ID. This is the only way to do this because there is no Get cmdlet to retrieve stored files. Also added reference to the Import-CsOnlineAudioFile cmdlet which shows using a stored variable when creating but not why or how to use it. Will add a note on that page as well to cross reference back to here.
1 parent 0771ed1 commit e40e0e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skype/skype-ps/skype/Set-CsCallQueue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ This example updates the Call Queue with identity e7e00636-47da-449c-a36b-1b3d6e
4040

4141
### -------------------------- Example 2 --------------------------
4242
```
43-
Set-CsCallQueue -Identity e7e00636-47da-449c-a36b-1b3d6ee04440 -DistributionLists @("8521b0e3-51bd-4a4b-a8d6-b219a77a0a6a", "868dccd8-d723-4b4f-8d74-ab59e207c357") -MusicOnHoldAudioFileId 4d7361c1-5b46-4f69-b125-cf35a098a341
43+
Set-CsCallQueue -Identity e7e00636-47da-449c-a36b-1b3d6ee04440 -DistributionLists @("8521b0e3-51bd-4a4b-a8d6-b219a77a0a6a", "868dccd8-d723-4b4f-8d74-ab59e207c357") -MusicOnHoldAudioFileId $audioFile.Id
4444
```
4545

46-
This example updates the Call Queue with new distribution lists and references a new music on hold audio file.
46+
This example updates the Call Queue with new distribution lists and references a new music on hold audio file using the audio file ID from the stored variable $audioFile created with the [Import-CsOnlineAudioFile cmdlet](https://docs.microsoft.com/en-us/powershell/module/skype/import-csonlineaudiofile?view=skype-ps)
4747

4848
## PARAMETERS
4949

0 commit comments

Comments
 (0)