Lync Shell Cmdlet New-CsRgsPrompt work not properly
hi techies
i'm working on scheduled powershell script change lync rgs workflows non bussines hours action more times day.
discover problem cmdlet new-csrgsprompt. i'm not able set audio file prompt. when set text speech prompt work fine.
http://technet.microsoft.com/en-us/library/gg398486.aspx
checked audio.wav file it's requirements.
http://technet.microsoft.com/en-us/library/gg398649.aspx
here script wrote far:
$y = get-csrgsworkflow -identity service:applicationserver:lyncserver.domain.com -name "lync workflow"
$musicfile = get-content -readcount 0 -encoding byte "c:\temp\audio.wav" | import-csrgsaudiofile -identity service:applicationserver:lyncserver.domain.com -filename "audio.wav"
$prompt = new-csrgsprompt -audiofileprompt $musicfile
$y.nonbusinesshoursaction = new-csrgscallaction -action terminate -prompt $prompt
set-csrgsworkflow -instance $y
i'm working on scheduled powershell script change lync rgs workflows non bussines hours action more times day.
discover problem cmdlet new-csrgsprompt. i'm not able set audio file prompt. when set text speech prompt work fine.
http://technet.microsoft.com/en-us/library/gg398486.aspx
checked audio.wav file it's requirements.
http://technet.microsoft.com/en-us/library/gg398649.aspx
here script wrote far:
$y = get-csrgsworkflow -identity service:applicationserver:lyncserver.domain.com -name "lync workflow"
$musicfile = get-content -readcount 0 -encoding byte "c:\temp\audio.wav" | import-csrgsaudiofile -identity service:applicationserver:lyncserver.domain.com -filename "audio.wav"
$prompt = new-csrgsprompt -audiofileprompt $musicfile
$y.nonbusinesshoursaction = new-csrgscallaction -action terminate -prompt $prompt
set-csrgsworkflow -instance $y
this lync management forum should able answer. unfortunately, looks forwarded here. if don't support powershell, need change forum description!
Windows Server > Windows PowerShell
Comments
Post a Comment