Powershell Using Start-Process in PSSession to Open Notepad

That is because your powershell session on the remote machine does not go to any visible desktop, but to an invisible system desktop. The receiving end of your powershell remote session is a Windows service. The process is started, but nor you nor anyone else can ever see it.

And if you think about it, since multiple users could RDP to the same machine, there is really no reason to assume a remote powershell session would end up showing on any of the users desktops. Actually, in almost all cases you wouldn’t want it anyway.

psexec with the -i parameter is able to do what you want, but you have to specify which of the sessions (users) you want it to show up in.

Leave a Comment