Category:

E2E Complete

SubCategory:

Troubleshooting

Brief Description:


Subject:

Troubleshooting Remote PowerShell issues

Problem:

Troubleshooting Remote PowerShell issues

Resolution:

A common area of confusion is implementing remote PowerShell within the E2E environment. You can verify and troubleshoot any PowerShell issues, even before you install E2E using the guidance below.
Open Windows PowerShell 2.0 on the system where you intend to install E2E. In turn, execute the following commands and see that they complete successfully. If the final command functions, so will the E2E Complete installation.

$usercredential = Get-Credential
set-executionpolicy remotesigned
$Session = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri https://E2E-Ex10.e2e.dom/PowerShell/ -Authentication Basic –Credential $UserCredential
Import-PSSession $Session
Get-Mailbox