Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to use Powershell Remote across the internet?

My mom and I both have Windows 7 Professional. We are from different locations connected by Internet. We are both behind firewalls(A router at home)

I would like to manager her computer by Powershell remote. How can I reach her PC ? I suppose I will need a VPN But I know very little about VPN. Can I set up a VPN Server on her machine and then connect to it? I will also need her IP address I guess. I plan to do this by some dynamic IP services.


share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, Oliver Salzburg Jan 14 '13 at 17:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You don't need a VPN to do this. VPN is for providing restricted/limited access, not really for facilitating connections. – skypecakes Jan 13 '13 at 22:17
@skypecakes look up "site to site vpn"; – Sirex Jan 13 '13 at 22:48
The VPN is not necessary. So the OP's comment "I suppose I will need a VPN" is not accurate, hence my comment. See Jake223's answer. My point is that VPN is used to provide security for the connection, not to make it easier to connect. I've never set up a site-to-site VPN, so I can't say with certainty that it doesn't make connecting easier; but it seems likely to add more complexity. – skypecakes Jan 13 '13 at 22:55
@Sirex: BTW if in your experience you have found that site to site vpn does make connecting easier, can you please explain (give an example maybe) or provide a link that proves that? I'd like to understand it better. – skypecakes Jan 13 '13 at 23:04
a site to site vpn basically makes it appear like the two networks are linked. It makes connecting easy. setting it up isn't as easy though. Given the original question, a site to site link is total overkill - i just wanted to note that a vpn isn't always just for individual remote users connecting into a network. – Sirex Jan 13 '13 at 23:12
up vote 3 down vote accepted

If you want to set up a VPN and do away with the hassle of using any built-in functionality, Hamachi might be one option. It works from behind firewalls quite happily and would allow you to perform any remote administration of the PC that you would normally be able to do if the two computers were on the same internal network. It also allows connection to dynamic IP addresses a little easier too, without the need to know it each time.

To enable remote PowerShell access on your mom's computer, you might need to run a few cmdlets from an elevated PowerShell prompt if you have not already done so. I would have a look at the How-To Geek's article here for more information.

share|improve this answer

You could try forwarding just port 22 on her router to her computer (must know her internal IP address; a static one might be good), then using her public IP address to make an SSH connection to her computer, then just running ps once you are at the command line on her computer. Make sure that her password is strong enough that her computer being on the open internet is OK.

A tutorial site for port forwarding:
An SSH server for windows:
An SSH Client for windows:

share|improve this answer
you'll want to be using ssh public key authentication. – Sirex Jan 13 '13 at 22:50
If you have dynamic ip on your remote computer, you can use a ddns service from providers like and configure on your router. – Ryu_hayabusa Aug 28 '15 at 13:52

When you say "VPN", I think you mean "VNC".

Take a look at RealVNC and their guide on setting it up. Link.

share|improve this answer
No I mean VPN. I think VNC is for desktop sharing. I want commandline connection – Queen Sarah Kerrigan Jan 13 '13 at 21:54

Not the answer you're looking for? Browse other questions tagged .