Health Set Summary
KeyDependenciesHealthSetGetServerHealthSummaryTask (Task)
Get Health Set summary information from the Exchange Server.
Element properties:
Member Modules:
Source Code:
<Task ID="KeyDependenciesHealthSetGetServerHealthSummaryTask" Accessibility="Public" Enabled="true" Target="Microsoft.Exchange.15.KeyDependenciesHealthSet" Timeout="300" Remotable="true">
<Category>Custom</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName>%windir%\System32\WindowsPowerShell\v1.0\powershell.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>-PSConsoleFile "%ExchangeInstallPath%bin\exshell.psc1" -Command "& {Get-ServerHealth -Identity $env:ComputerName | ? { $_.HealthSetName -ieq '$Target/Property[Type="Microsoft.Exchange.15.HealthSet"]/HealthSetName$' } | ft @{Expression={$_.Name};Label='Monitor';width=47},@{Expression={$_.AlertValue};Label='State';width=9},@{Expression={$_.LastTransitionTime};Label='Last Transition';width=22}}"</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>