Bước 1:
Để chạy được EMS powershell chúng ta cấp quyền remote
Set-ExecutionPolicy RemoteSigned
$Credentials = Get-Credential

Bước 2:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://LAB-EX2013.phuongit.lab/PowerShell -Authentication Kerberos -Credential $Credentials
Lưu ý http://<ServerFQDN>/powershell chúng ta thay ServerFQDN của các bạn nhé. Ví dụ ở đây của Phương Nguyễn là LAB-EX2013.phuongit.lab, tường lửa không cấm port 80.
Bước 3:
Import-PSSession $Session

Chờ import xong sẽ ok nhé trường hợp nếu không muốn hiện thì thêm tham số
Import-PSSession $Session -DisableNameChecking
Bước 4: Test Lệnh Exchange PS1 ví dụ
Get-User -ResultSize unlimited -Filter ‘RemotePowerShellEnabled -eq $true’

Để kết thúc phiên làm việc có thể end session
Remove-PSSession $Session
Chúc các bạn thành công
Phương Nguyễn IT viết.
Nguồn: http://phuongnguyenit.com/cach-ket-noi-exchange-server-bang-remote-powershell-ems/
Được đóng lại.