
Part III: Working with PowerShell in a Production Environment
404
Testing the Web Services with
Test - WebServicesConnectivity
This cmdlet ’ s name is a bit of a misnomer because there are several other test cmdlets that test web
service connectivity. The cmdlets test the functionality of Outlook Anywhere. Exchange 2003 used
the term RPC instead of HTTP; however in 2007 it has been renamed to something a little more
marketing friendly.
The following is a list of parameters available for this cmdlet:
AllowUnsecureAccess : Necessary if you are not using SSL.
ClientAccessServer : Specify the CAS server that the cmdlet will test against.
MailboxCredential : User that the cmdlet should attempt to synchronize against. If no user
is specified the CAS user is used. Using
MailboxCredential:(Get-Credential test@
exchangeexchange.local)
will prompt for the password of the user ‘test’. Once the
password is entered, the test cmdlet runs.
MailboxServer Mailbox : Server that contains the mailbox to test. If no server is specified,
connectivity to the local mailbox server will be tested.
MonitoringContext : This true/false value sets whether to include the monitoring events and
performance data. This also passes the data onto MOM if the MOM agent is installed.
ResetTestAccountCredentials : Resets the test account password. This may become
necessary if the cmdlet errors out ...