Attempting to start Notepad on remote computer

by GeorginaHowland at 2012-11-19 09:12:58

I am new to powershell
what I am attempting to accomplish is start Notepad on remote computer, I have domain admin rights and admin rights on remote machine
I did the following steps

new-pssession ssm7d001
enter-pssession ssm7d001
[ssmw7d001]: PS C:> start-process notepad
[ssmw7d001]: PS C:> get-process notepad

Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ – -----------
50 6 1256 3888 45 0.02 2716 notepad

Notepad process started on remote computer under my name, I thought the user on the remote computer would see notepad start

Can I get notepad to start the remote computer so the user can see notepad

What am I missing?

If this can be done, could you explain what is poweshell is doing for a successful display of Notepad on remote users screen
If it can’t be done, OK I move on the other commands
Thank you ! !
by Infradeploy at 2012-11-19 09:40:21
You have to understand that Powershell is not a GUI, and it’s not mend to fire up gui applications.
That is working on your computer makes sense, because you already in a gui, and that makes the application visible.

Is it just for test purposes? what are you really trying to achieve?
by DonJ at 2012-11-19 10:26:57
Keep in mind that Windows is inherently a multi-user operating system. When you launch Notepad, it starts, but it isn’t going to pop up in front of anyone. Remoting isn’t designed for that, and in fact getting that to work is fairly complicated because of the inherent boundaries between user sessions in Windows.