server 2008 r2 / server 2012 remote powershell

if i want to use the New-PSSession command from a server 2008 r2 server to connect to a server 2012, i need to install powershell v3, .net 4.5?
cmatchettAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Justin YeungConnect With a Mentor Senior Systems EngineerCommented:
by default 2012 is enabled with PSremoting..............

and if you are using v2 to connection New-PSsession. you only have v2 version command.
0
 
becraigCommented:
Short answer yes:

Here are steps on installing powershell on the 2012 server:
http://technet.microsoft.com/en-us/library/jj205328.aspx

Once done you need to run Enable psremoting -force on the target server to ensure winrm is correctly set up and configured for remoting.
0
 
Justin YeungSenior Systems EngineerCommented:
no you don't.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
becraigCommented:
Not sure how he can connect via psremoting without powershell installed  ?



There is no specific version REQUIRED but Powershell needs to be installed if powershell is going to connect to PowerShell.

Since it is a 2012 server and there is a .net requirement I can see no harm in putting PS3 on 2012.
0
 
cmatchettAuthor Commented:
I have added a server 2008 r2 vm to a 2012 domain.

TEST-02 = Server 2008 R2
DC-01 = Server 2012

i can open powershell v2 on test-02 and execute New-PSSession DC-01 without installing any other software and it seems to work?
0
 
becraigConnect With a Mentor Commented:
This means your server 2012 was configured with PowerShell out of the box

Also .net 4x is bundled with the server OS


However both scenarios might not have been the case based on the the server was built, do if it's all prepackaged then no action needed.  If not then those are the steps.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.