Start PowerShell with -NoExit not working -
need launch several jobs in powershell, should in different sessions. launch one, 1 use:
start-process powershell -argumentlist "-command &{get-process}","-noexit","-noprofile"
but new window closes command finishes. though i'm using -noexit
parameter. acording this article , this question, should work. tried block window, waiting user input, closes.
while command parameters named, position still critical (see powershell.exe /?):
start-process powershell -argumentlist "-noexit", "-noprofile", "-command &{get-process}"
Comments
Post a Comment