D
dbeavon
Guest
Note that my powershell script wasn't written to use the "terminateFreeABLSessions" API that was suggested by Irfan so it probably runs slower than necessary (although it may work better for MS-Agents that are started with the -q parameter). I am still not certain that the API method "terminateFreeABLSessions" is available on the REST side of things. Also please note that my powershell script is extremely simple and only operates on a single ABL application and assumes a single MS-Agent will be present (with state AVAILABLE). These assumptions are based on my requirements in the development environment. Finally, the version of powershell that I used was as follows. I'm not sure if the features I used are available on other versions: $PSVersionTable.PSVersion Major Minor Build Revision ----- ----- ----- -------- 5 1 15063 726
Continue reading...
Continue reading...