Many of us are familiar with troubleshooting the CAS services from outside our network using the Exchange Remote Connectivity Analyzer, but what about testing internally? Or testing specific virtual directories such as the ECP? There are some great built-in Powershell cmdlets that make troubleshooting the CAS much easier.
I would like to go through these one by one and show examples of each. More information can be seen by clicking each cmdlet below.
Before we get started, many of these cmdlets rely on utilizing a test mailbox. This mailbox is not created by default. If you try to run a cmdlet that requires the test mailbox, you will see the following error: MailboxNotFoundException
A script is available to help generate the test mailbox for you. From the Scripts folder where Exchange is installed, in my case C:\Program Files\Microsoft\Exchange Server\V14\Scripts\, run the New-TestCasConnectivityUser.ps1 script.
Now that the test mailbox is created, let’s look at the different cmdlets.
Test-ServiceHealth – This should be run first in any troubleshooting scenario. This script will list each Exchange role, what services are required for that role to function properly and which of those services are not running.
In my example, you will see that the Exchange Forms Based Authentication service is not started. After starting this from the services console, I run the cmdlet again and everything looks normal.
Test-MapiConnectivity – This is the next command that should be run to verify that mailbox access is working. Note that a | format-list can be added to any command to get more detailed information.
Test-OutlookConnectivity – Will verify that OWA is running and can be used to test all virtual directories or individual ones. In this example I am testing HTTP connectivity, TCP can also be specified.
Test-OutlookWebServices – Verifies the service information returned by Autodiscover for the Availability Service, Outlook Anywhere, OAB, and UM
Test-WebServicesConnectivity – Tests EWS functionality.
Test-EcpConnectivity – Verifies connectivity to the Exchange Control Panel.
Test-ActiveSyncConnectivity – Performs a full mailbox synchronization to verify health of ActiveSync
Test-PowerShellConnectivity – Test whether PowerShell remoting on a target CAS server is healthy
Also available are the Test-ImapConnectivity and Test-PopConnectivity if you are supporting those protocols. Always remember to use the Best Practices Analyzer report from the Toolbox as well.
Thanks for writing this article, it is really helpful and learning article. I am also working in the same field. It seems to be fast and efficient. It is a very good example of testing internally. Keep doing the good work.
ReplyDeleteasics shoes
ReplyDeletechristian louboutin outlet
ray ban sunglasses outlet
jordan retro 3
cheap oakley sunglasses
gucci handbags
louis vuitton handbags
coach outlet
ray ban sunglasses
oakley store
ghd hair straighteners
ed hardy clothing
air jordan retro
mont blanc pens
louis vuitton outlet
ugg outlet
beats wireless headphones
prada uk
christian louboutin outlet
coach factory outlet
cheap oakleys
air max 90
canada goose outlet
nike outlet
louis vuitton outlet
coach outlet store online
ugg boots
michael kors handbags
north face outlet
louis vuitton handbags
nike running shoes
air jordans
louis vuitton
louis vuitton handbags
coach factorty outlet
coach outlet
michael kors outlet
louis vuitton outlet
louis vuitton
jordan 8s
20164.14wengdongdong
Thanks for writing this article, it is really helpful and learning article. I am also working in the same field. It seems to be fast and efficient. It is a very good example of testing internally. Keep doing the good work.
ReplyDeletegoldenslot
GCLUB Casino
Gclub
GClub casino
Open DLL files
ReplyDelete-ข้อมูล Xinyan
ReplyDeleteROV Aleister
Ragnarok Gravity
ReplyDeleteHonkai Impact 3
ReplyDeleteAmong Us
บาคาร่า
charmsukh
ReplyDeletePalang Tod
Hot Web Series
fliz web series
anitaukslut4u
indian hot web series
tango live premium indian videos
bhoomika vasishth tango
sapna sappu
Adity Mistry
desi bhabhi
indian mms
xxx web series
niksindian
niks indian
gunnjan aras
gunjan aras
nude web series
sarla bhabhi
lovely ghosh
poonam pandey porn
oasi das
indian adult web series
sherlyn chopra nude
poonam pandey nude
poonam pandey instagram
poonam pandey sex
Rajsi Verma
resmi r nair
resmi r nair nude
simran kaur
simran kaur nude
anam khan
anam khan nude
annie sharma
mishti basu
Hi....
ReplyDeleteUse the Get-ClientAccessServer cmdlet to view settings that are associated with the Client Access server role. Note: In Exchange 2013 or later, use the Get-ClientAccessService cmdlet instead.
You are also read more Instant Loan Online
betflix slots are easy to break. Apply for a new member today and get unlimited free credits. Ready to meet a new kind of fun.
ReplyDeleteLooking for high-quality storyboard free
ReplyDeleteresources without breaking the bank? I recently stumbled upon an excellent find at story-board.ai, where they offer an impressive range of storyboard templates and tools for free. It's a game-changer for creators on a budget who still want professional-looking storyboards.