Enable Powershell Remoting remotely

taken from source: http://social.technet.microsoft.com/Forums/windowsserver/en-US/0800c68c-8cfb-4d6f-9c05-0e1a33412941/remotely-enable-psremoting?forum=winserverpowershell

Hi, I know this has been answered, but I feel using schtasks is overly complicated. I’ve found a better way and am posting it since this question is the top result in Google for the topic.

First, you need to have a microsoft tool – psexec – http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx – download and extract to where ever.

After that run cmd.exe, and navigate to whatever folder psexec has been extracted to (ie. cd C:\[path to psexec’s containing folder)

Then run this command:

psexec \\[computer name] -u [admin account name] -p [admin account password] -h -d powershell.exe “enable-psremoting -force”

That’s it. Twiddle your thumbs for a couple minutes – enable-psremoting can sometimes take a while and the -d modifier just lets it happen in the background on the target remote machine, then you are good to go with all your psRemoting funtimes.

You can also replace “\\[computer name]” with an ip address, or even “@C:\[path]\list.txt to automatically enable psRemoting on a big list of computers on your network. Very fast, very easy.

Hope this is clear enough for the less experienced because most of what turns up on Google is not very helpful for this topic.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


Tips, tricks and time-savers for the Windows and ConfigMgr administrator

To The Point

Anything about Technology and Business

Brian's Power Windows Blog

Microsoft in the Enterprise. Windows, Hyper-V, Exchange, SQL, and more!

PowerScripting Podcast

Shownotes and links for the PowerScripting Podcast, a podcast to help people learn Windows Powershell

Learn Powershell | Achieve More

What is this Powershell of which you speak?

%d bloggers like this: