Solved

server 2008 r2 / server 2012 remote powershell

Posted on 2014-03-31
6
364 Views
Last Modified: 2014-04-08
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?
0
Comment
Question by:cmatchett
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 39967184
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
 
LVL 14

Expert Comment

by:Justin Yeung
ID: 39967343
no you don't.
0
 
LVL 29

Expert Comment

by:becraig
ID: 39967372
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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 

Author Comment

by:cmatchett
ID: 39967442
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
 
LVL 29

Assisted Solution

by:becraig
becraig earned 250 total points
ID: 39967470
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
 
LVL 14

Accepted Solution

by:
Justin Yeung earned 250 total points
ID: 39967485
by default 2012 is enabled with PSremoting..............

and if you are using v2 to connection New-PSsession. you only have v2 version command.
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My GPO's made for 2008 R2 servers were not allowing me to RDP into a new 2012 server by default.  That’s why I tried to allow RDP via Powershell, because I could log into a remote shell without further configuration. Below I will describe how I wen…
Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question