Hi All -
Has anyone tried to write code in Powershell before? I was able to load .dll, but whenever I tried to "getsessionIDlist", it returned nothing. I tried using dashboard, I was able to Start Application Session without any issue with the credentials, list sessions and etc. I would like to use the API to output a report for all session and device IDs. Any idea how to achieve this? Below is the initial code I write.
[Reflection.Assembly]::LoadFile("C:\Users\xxxx\Downloads\dmcc-dotnet-sdk-8.1.0.0.0.68\dmcc-dotnet-sdk\Dashboard\ServiceProvider.dll")
$service = New-Object Avaya.ApplicationEnablement.DMCC.ServiceProvider
$service.StartApplicationSession("xx.xx.xx.xx",4721,"Test","user","password",5, 180, "8.1", $false, $false, $true, $true)
---
[Reflection.Assembly]::LoadFile("C:\Users\xxxx\Downloads\dmcc-dotnet-sdk-8.1.0.0.0.68\dmcc-dotnet-sdk\Dashboard\ServiceProvider.dll")
$service = New-Object Avaya.ApplicationEnablement.DMCC.ServiceProvider
$service.StartApplicationSession(xx.xx.xx.xx",4721,"Test","user","password",5, 180, "8.1", $false, $false, $true, $true)
|