The module was working perfectly. I logged off the rest of the day and started working on my script again.
I received the following error:
Exception calling "Logoff" with "1" argument(s): "The s...
Id #4 | Release:
| Updated: Mar 21 at 6:54 PM by jenniferblum | Created: Mar 17 at 6:21 PM by jenniferblum
This code work
$computer = 'TSE1.domain.adds'
Get-TSSession -computerName $computer -ID $($Sess.ID) | Get-TSProcess | Stop-TSProcess
but if I need an action after list process and before Stop-Proc...
Id #3 | Release:
| Updated: Jul 6, 2015 at 10:14 AM by sctfic | Created: Jul 6, 2015 at 10:14 AM by sctfic
this code work
$ComputerName = 'TSE1.domain.adds'
Get-TSSession -ComputerName $ComputerName | Disconnect-TSSession -ComputerName $ComputerName -Force
but wihtout the parameter -ComputerName on se...
Id #2 | Release:
| Updated: Feb 10, 2016 at 3:30 PM by omgpirate | Created: Jul 6, 2015 at 10:03 AM by sctfic