FuzzySecurity / PowerShell-Suite

My musings with PowerShell
BSD 3-Clause "New" or "Revised" License
2.6k stars 762 forks source link

Possibility to not open the new window #6

Open kedziorm opened 6 years ago

kedziorm commented 6 years ago

Is it possible to not open new window (counterpart of -NoNewWindow switch in start-process)? There's no such information in argument list.

https://github.com/FuzzySecurity/PowerShell-Suite/blob/412cea347eea3c5d336113ce6c47ceb579954bdd/Invoke-Runas.ps1#L32