WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
get-content c:\serverlist.txt | foreach-object {test-servicehealth -server $_}
Of course you can customize the test-searvicehealth part accourding to your needs.
The test-mapiconnectivity requires databases or mailboxes as an input to test:
get-content c:\databases.txt | foreach-object {test-mapiconnectivity -database $_}
or
get-content c:\mailboxestotest.txt | foreach-object {test-mapiconnectivity -identity $_}
Of course, here you have to customize the rest of the test-mapiconnectivity part accourding to your needs.