Solved

server 2008 r2 / server 2012 remote powershell

Posted on 2014-03-31
6
363 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

In my previous 24 VMware Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most featured Intermediate VMware Topics. My next series of articles concentrated on topics for the VMware Novice;   If you would…
The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
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 basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

809 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