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 system cannot find the file specified"
At C:\Users\jennifer.blum\Documents\WindowsPowerShell\Modules\PSTerminalServices\PSTerminalServices.psm1:631 char:21
- $session.Logoff <<<< ($Synchronous)
- CategoryInfo : NotSpecified: (:) , ParentContainsErrorRecordException
- FullyQualifiedErrorId : DotNetMethodException
I tried repairing the file, restarting my machine, but I still get this error. I have confirmed the file path is good.
I have confirmed the import module was successful.
Any ideas that can help me get this script running again?