Added (undocumented) -wait switch to faciliate waiting for keypress in elevated shell for global commands
Fixed setting of process path after elevated global powershell commands are executed