PowerShell Remote Management Windows Server (3): Workgroup environment

Source: Internet
Author: User

I. Experimental environment

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201409/1/907015_1409562964rvPc.png" height= "108"/ >

Two. Operation procedure

(1) Enter "Enable-psrometing" on the server side, enable remote connection; (refer to: http://281816327.blog.51cto.com/907015/1397239)

(2) On the client side, enter Set-item wsman:\localhost\client\trustehosts–value "192.168.11.53" to set the server as the trusted host for the client.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201409/1/907015_1409562965c8vv.png" height= "All"/>

To avoid the mistakes;

(

the error content is   enter-pssession: Connection to remote server 192.168.11.53 failed with the following error message: The WinRM client could not process the request.

Authentication. For more information about how to set up Trustedhosts, run the following command: WinRM help config. For more information, see Location Line: 1 character: 1
+ Enter-pssession-computername 192.168.11.53-credential Contoso.test\administrat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ categoryinfo:invalidargument: (192.168.11.53:string) [Enter-pssession],psremotingtran + FULLYQUALIFIEDERR Orid:createremoterunspacefailed

)

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://img1.51cto.com/attachment/201409/1/907015_1409562965zCAv.png" height= "+"/>

(3) Enter "Enter-pssession–computername 192.168.11.53–credentrial contoso.test\administrator", enter the password and log in to the server remotely ; (Refer to: http://281816327.blog.51cto.com/907015/1397239 for specific operation)

Note:

(1) The trusted host can be set to a network segment, such as 192.168.11.*

(2) or a domain name, such as Iis01.contoso.test


This article is from the "Margin with Wish" blog, please be sure to keep this source http://281816327.blog.51cto.com/907015/1547537

PowerShell Remote Management Windows Server (3): Workgroup environment

Related Article

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.