Skip to content

Commit 2bb1495

Browse files
authored
Merge pull request MicrosoftDocs#5633 from carolynblanding/patch-7
Update Import-CsOnlineAudioFile.md
2 parents 4ffeb87 + d0c970a commit 2bb1495

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

skype/skype-ps/skype/Import-CsOnlineAudioFile.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,16 @@ $content = Get-Content "C:\Media\Welcome.wav" -Encoding byte -ReadCount 0
3232
$audioFile = Import-CsOnlineAudioFile -ApplicationId "OrgAutoAttendant" -FileName "Hello.wav" -Content $content
3333
```
3434

35-
This example creates a new audio file using the WAV content that has a filename of Hello.wav to be used with organizational auto attendants.
35+
This example creates a new audio file using the WAV content that has a filename of Hello.wav to be used with organizational auto attendants. The stored variable, $audioFile, will be used when running other cmdlets to update the audio file for Auto Attendant, for example: [New-CsAutoAttendantPrompt] (https://docs.microsoft.com/powershell/module/skype/new-csautoattendantprompt)
36+
37+
### -------------------------- Example 2 --------------------------
38+
```powershell
39+
$content = Get-Content "C:\Media\MOH.wav" -Encoding byte -ReadCount 0
40+
$audioFile = Import-CsOnlineAudioFile -ApplicationId "HuntGroup" -FileName "MOH.wav" -Content $content
41+
```
42+
43+
This example creates a new audio file using the WAV content that has a filename of MOH.wav to be used as a Music On Hold file with a Call Queue. The stored variable, $audioFile, will be used with [Set-CsCallQueue] (https://docs.microsoft.com/powershell/module/skype/set-cscallqueue) to provide the audio file id.
44+
3645

3746
## PARAMETERS
3847

@@ -103,5 +112,3 @@ This cmdlet supports the common parameters: `-Debug, -ErrorAction, -ErrorVariabl
103112
## NOTES
104113

105114
## RELATED LINKS
106-
107-

0 commit comments

Comments
 (0)