Solved

server 2008 r2 / server 2012 remote powershell

Posted on 2014-03-31
6
358 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
  • 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In my previous Experts Exchange Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most have featured Basic and Intermediate VMware Topics.  As a Virtualisation Consultant, we implement many different virtual…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now