Exchange 2013 uses PowerShell remote management features

Source: Internet
Author: User

Exchange 2013 uses PowerShell remote management features

Exchange2013 has already been able to download the RTM version and has supported PowerShell remote management since Exchange 2010, and we no longer need to install the Exchange Management tools natively. You can manage your Exchange server remotely by using PowerShell, as an example of using Basic authentication to remotely manage PowerShell:
Server-side settings enable basic identity authentication for the PowerShell directory:
1. Log in to any Exchange 2013 server.
2. Add a new authentication method to the/powershell virtual directory on a front-end server that needs to be connected (Basic authentication): Get-powershellvirtualdirectory-server e15rtmfe01 | Set-powershellvirtualdirectory-basicauthentication: $true
Client computer settings:
1. Install PowerShell 3.0 on the computer:http://www.microsoft.com/en-us/download/details.aspx?id=34595
2. Enable PowerShell remote management feature on the computer, run PowerShell execution command as Administrator: Enable-psremoting-force
3. Allow unencrypted communication
A. Accessing PowerShell as an administrator
B. cd Wsman:\localhost\client
C. set-item \ allowunencrypted $true-force
D. Set-item. \trustedhosts-value *-force
E. set-executionpolicy-executionpolicy remotesigned
4. Run $session=new-pssession-configurationname Microsoft.exchange-connectionuriHttp://e15rtmfe01.sinopec.ad/powershell-authentication basic-credential (get-credential)
This allows you to connect to the server using the specified account.
5. Import a session using a command: Import-pssession $session
6. If you want to end the session, you can use the following command:
Remove-pssession $session If you close the Windows PowerShell window without performing this step, the session must time out, and a quota for the maximum number of concurrent connections may prevent you from connecting back to the service in a timely manner.

This article is from the "Zhou Ping Microsoft Technology Exchange Platform" blog, please be sure to keep this source http://yuntcloud.blog.51cto.com/1173839/1584445

Exchange 2013 uses PowerShell remote management features

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.