PSHELL?

May 20, 2008
11,028
89
Syracuse, NY, USA
It's better, but there are things I don't understand.

"PSHELL /S dir" works, and after that, "PSHELL /C" doesn't complain. After both of those, another "PSHELL /S dir" doesn't work.

Is the "persistent PowerShell interpreter" supposed to be restarted as needed? Is it started by default when TCC is started?
 
May 20, 2008
11,028
89
Syracuse, NY, USA
In a new instance I could not repeat what I observed in my previous post. Then, in another instance, I could.

What does "PSHELL /C" do? It doesn't seem to free any resources and NSILP_PowerShell.x86.dll stays loaded along with about 15 other DLLs that were loaded when it was loaded.
 
Aug 23, 2010
618
8
I suggest changing the /C switch descriptions from "close" to "clear".
Something like "/C(lear) Clears the persistent PowerShell interpreter state, effectively initializing it anew"
 
Thread starter Similar threads Forum Replies Date
Joe Caverly Support 1
Joe Caverly Support 17
V Support 5
Peter Murschall Support 8
Joe Caverly Support 2