Solved

server 2008 r2 / server 2012 remote powershell

Posted on 2014-03-31
6
357 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 28

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 28

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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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 28

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Table of Contents: Lesson 1 - Installing Windows Server 2012 (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2012/A_11592-Become-an-Administrator-Installing-Windows-Server-2012.html) Lesson 2 - Configuring Ser…
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…
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 transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

746 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

9 Experts available now in Live!

Get 1:1 Help Now