DomainController : Sets the DC to query.
Fax : Boolean value to set the cmdlet to run the test as a fax instead of a voice call. This is true by
default.
ListenPort : By default the listening port is set to 9,000. If a different port is needed, set it here.
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.
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
Chapter 14: Troubleshooting Exchange Issues
411
Secured : Boolean value that sets the cmdlet to run in an encrypted mode. If your IP gateway is
not set to take encrypted communications, setting this value causes the cmdlet to error out.
Timeout : Period of time for the cmdlet to run. By default this parameter is set to 180 seconds.
ResetPIN: Boolean value to reset the PIN for any of the specified mailboxes.
Figure 14 - 14 shows testing UM connectivity.
??‘
??‘
??‘
Figure 14-14
Using Get and Set Cmdlets to Gather
System and Application Data
This section discusses using the following cmdlets to retrieve system and application data:
Get-Eventlog
Get-Message
Get-MessageTrackingLog
Get-EventLogLevel
Set-EventLogLevel
??‘
??‘
??‘
??‘
??‘
Part III: Working with PowerShell in a Production Environment
412
Using Get - Eventlog
The Get-Eventlog cmdlet reads any of the event logs stored on the local computer.
Pages:
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567