728x90
To start the remote PowerShell session with Exchange 2013:
- Start the PowerShell console on the workstation.
- In the console enter the following command:
$Credentials = Get-Credential
This brings up a new window where you need to enter your administrative credentials.
- In the console enter another command:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<Exchange 2013 CAS FQDN>/PowerShell/ -Authentication Kerberos -Credential $Credentials
Replace the <Exchange 2013 CAS FQDN> part with the address of your CAS role server.
- The next command is:
Import-PSSession $Session
It connects to the Exchange Server and imports all necessary server administration cmdlets.
You are now ready to manage your server with PowerShell.
When you finish your work close and remove the remote connection session with the following command:
Remove-PSSession $Session
728x90
'IT이야기 > Exchange' 카테고리의 다른 글
[Exchange2013/2016] OWA 세션 타임아웃 설정 레지스터리 (0) | 2016.04.14 |
---|---|
[Exchange2010] 메일 사서함 서버 용량 산정 (0) | 2016.03.07 |
메일 리턴 메세지 모음 (0) | 2016.02.24 |
Exchange Service Start Script (0) | 2016.02.24 |
한글 포함 안깨지게 메일 보내는 파워쉘 (0) | 2016.02.22 |