I know that there is that little -noexit switch for PowerShell.
-noexit
Is there anyway of staying in the shell without using that switch?
In other words, I
"do stuff" Pause
Yes, just like commandline -- output:
do stuff Press Enter to continue...:
Like this?
PowerShell -File c:\myscript.ps1 -NoExit