Share via


Exchange 2013 Troubleshooting with Powershell

Type of installation

 Get-ExchangeServer | FL

http://yshvili.com/images/t1.JPG

Additional tests can be performed

Get-Command -Verb Test | Where Module -match $env:computername

http://yshvili.com/images/t2.JPG

 

 

Will display all the commands Test

Test-ServiceHealth to Verify Required Services 

http://yshvili.com/images/t3.JPG

Test-MAPIConnectivity to Test Mailbox Databases

http://yshvili.com/images/t4.JPG

Test-ReplicationHealth to Test DAG Members

http://yshvili.com/images/t5.JPG

Test-Mailflow to Verify Mail Delivery

Test-Mailflow -AutoDiscoverTargetMailboxServer | ConvertTo-Csv > "C:\yshvili\mailflow.csv"

http://yshvili.com/images/t6.JPG

Test-Mailflow -TargetEmailAddress mailadres@company.com 

Test-OutlookWebServices - Verify Web Services Functionality

Test-MRSHealth - Verify the Mailbox Replication Service

Test-ActiveSyncConnectivity- Verify Exchange ActiveSync

Test-ServiceHealth | ft role,req*,servicesnotrunning 

Test-PowerShellConnectivity - Verify PowerShell Remoting

Analyse ServerComponents

Get-ServerComponentState $env:computername