programming4us
programming4us
ENTERPRISE

Remote Administration of Exchange Server 2010 Servers : Using the Remote Exchange Management Shell

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
New to Exchange Server 2010 is the ability to access all the familiar Exchange Server cmdlets remotely, leveraging the PowerShell v2 remote capabilities. This enables cmdlets and scripts to run across multiple servers in a single EMS instance. It also enables administrators to run the shell from their workstation and connect remotely to the Exchange Server 2010 servers. Given the limitation of the EMC to run only on 64-bit systems, the EMS also enables 32-bit clients to connect to the servers.

Supported client OS platforms for the EMS are the following:

  • Vista (32-bit or 64-bit)

  • W2k8 (32-bit or 64-bit)

  • W2k8 R2 (86-bit or 64-bit)

  • Win7 (32-bit or 64-bit)

  • W2k3 (32-bit or 64-bit)

  • XP (32-bit or 64-bit)

The software requirements for the EMS are as follows:

  • Windows PowerShell v2

  • WinRM 2.0

The remote EMS does not require any Exchange Server binaries to be installed on the client, making deployment much easier.

The New-PSSession and the Import-PSSession cmdlets establish a remote session. The New-PSSession cmdlet establishes a secure persistent connection to the remote computer. A number of security options to the command support a variety of authentication and transmission options. The Import-PSSession cmdlet imports commands such as cmdlets, functions, and aliases from the remote computer into the local client. This includes all the Exchange Server 2010 cmdlets. The imported commands actually run in the remote session—that is, on the remote Exchange Server 2010 server rather than the local client.

To access an Exchange Server 2010 server from another system using the remote shell, execute the following commands:

1.
Launch PowerShell.

2.
Execute the cmdlet $UserCredential = Get-Credential. This prompts for credentials to use with the shell and store them in the variable.

3.
Execute the cmdlet $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://EX1.companyabc.com/PowerShell/ -Credential $UserCredential. Make sure to replace the FQDN of the target server in this example. This cmdlets establishes a connection with the Exchange Server 2010 server.

4.
Execute the cmdlet Import-PSSession $Session. This imports the server-side session from the Exchange Server 2010 server.

Exchange Server 2010 commands can now be executed remotely. Figure 1 shows an example of a remote session connection and the execution of a sample Get-Mailbox cmdlet executed from the remote system.

Figure 1. Setting up a remote shell session.

The preceding example was executed on a 32-bit Windows Vista system running WinRM 2.0 and PowerShell v2.

The certificate requirement can be bypassed using the SkipCACheck, SkipCNCheck, and SkipRevocationCheck options. These are a little tricky to generate because the options need to be stored in an object prior to executing the cmdlet. Here are the steps:

1.
Launch PowerShell.

2.
Execute the cmdlet $SkipCert = New-WSManSessionOption -SkipCACheck -SkipCNCheck –SkipRevocationCheck. This captures the option to skip the certificate check in the $SkipCert variable.

3.
Execute the cmdlet $UserCredential = Get-Credential. This prompts for credentials to use with the shell and store them in the variable $UserCredential.

4.
Execute the cmdlet $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://EX1.companyabc.com/PowerShell/ -Credential $UserCredential -SessionOption $SkipCert. Make sure to replace the FQDN of the target server in this example. This cmdlets establishes a connection with the Exchange 2010 server.

5.
Execute the cmdlet Import-PSSession $Session. This imports the server-side session from the Exchange 2010 server.

To get help with remote operations in PowerShell, use the get-help about_Remote_Troubleshooting command. This has extensive troubleshooting information and helpful tips. Use get-help New-PSSession to get help on the New-PSSession cmdlet, which includes quite a few options.

Other  
 
Top 10
- How to Monitor Internet data usage on Windows 10
- How to fix the error 0x8007045d on Windows
- The Growth of Game Development Companies in Nevada in Diverse Sectors
- How to install shader in Windows 10 Minecraft Bedrock Edition
- How to rebuild BCD in Windows (fix the error : BOOTMGR is Missing)
- Microsoft Excel 2013 : Converting an Existing Workbook – Convert an Excel 97-2003 to Excel 2013
- How to fix error “WiFi with exclamation mark”
- How to fix the error : Windows Update error 0x800705b4 on Windows 10
- How to change the default audio output in Windows 10
- How to fix the error : “ssl_error_rx_record_too_long” in FireFox
REVIEW
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
- Cisco VLAN
- Word 2010 - Changing external linked images into embedded images
- V-lookup
- Windows KMS Clients Activation
- How to find max/min integers in a vector?
- Server Side Includes folder not in the right place?
- Using Group Policy to Block In Private Browsing
- Cannot print any PDF document, only option is to save as .prn and then it does not print.
- PHP mysql_fetch_assoc
- dcpromo Setup Wizard and AD replication
programming4us programming4us
programming4us
 
 
programming4us