I usually add temporary code to show running variables
and when the script is ready I have to delete this code.
Is there any way of terminate a script (.ps1)
(quit / exit / break / ... )
called from the console command line...
and leave the script variables in memory
so we can inspect them in the console...
I do not want to use PSBreakpoint in this...
I just want to exit to console...
and type the name of the variable
to display the content
Thx!