Now, $music1.id is going to have the Id number that we need to script the next step, for a example, defining a new Call Queue $music1 = Import-CsOnlineAudioFile -ApplicationId “HuntGroup” -FileName “Loop2.mp3” -Content $content -Verbose So, my suggestion is to use something like the following one: We could copy and paste that one, or save those information in a variable. Import-CsOnlineAudioFile -ApplicationId “HuntGroup” -FileName “Loop2.mp3” -Content $content -VerboseĪs you can see, we have the ID number for the file. The result will be an audio file usable for a Call Queue, whose display name will be “Loop2.mp3” Now we are going to import the file using the $content variable. The audio file is now saved in the $content variable and we can reuse it every time. There will be no need to repeat the above script. $content = Get-Content “c:\temp\audio\Loop.mp3” -Encoding byte -ReadCount 0 To upload the file, we have to save it into a variable (let’s call it $content) I will use the Skype for Business Online, Windows PowerShell Module with a user that has already the required permissions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |