PowerShell Remote Connection

Source: Internet
Author: User
Tags to domain

Recently, looking at PowerShell-related knowledge because of the need for work, the individual summarizes a little bit about the steps needed to make a remote connection to PowerShell and wants to help others.

Remote connection using PowerShell requires a

Configuration of the device:

1. Turn on PS Remote management: Enable-psremoting-force

(If prompted: Press the Y key to enter)

2. Turn on WRM request: WinRM quickconfig

Client Configuration:

Add Host Trust: Set-item Wsman:\localhost\client\trustedhosts-value *

If you are prompted to change the network connection type to domain or private, and then try again ,

Remember to make sure to change the device network type to private network or work network.

Set-executionpolicy remotesigned

(prompt: Press Y to enter)

The above steps can be used to make PowerShell remote connection, but in the win8 below the default is not to configure PowerShell in the environment, we need to manually configure.

First, you can run PowerShell under the CMD terminal

CMD "PowerShell

If the ' not internal processing command ' appears, you need to configure the environment variable below path .

1. On the last side of path, add

;%systemroot%\system32\windowspowershell\v1.0\

Restart the cmd terminal,

CMD "PowerShell

Or do you want to add the PowerShell feature to your computer manually by prompting ' not an internal processing command '?

Under the Start menu, enter

Compmgmtlauncher Enter

Go to " Server Manager " and click on the " functions " button in the tree map on the left.

Click Add Feature

"Net Framework 3.0 features "--------tick

"Windows PowerShell"-----------tick

When you're done, restart the terminal and enter PowerShell to enter the PowerShell interface.

By this time you will be able to enter the link script in the PowerShell administrator run.

Link script I do not write in detail here, in Google can search, a lot, and then I this is the first time with this thing, will not add pictures, we look at a bit of trouble, sorry.

PowerShell Remote Connection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.