Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Windows Server 2012 Essentials, Windows Home Server 2011, Windows Storage Server 2008 R2 Essentials, Windows Small Business Server 2011 Essentials
Specifies a PowerShell script or a managed assembly that checks the condition of a feature. The managed assembly must implement the IBinaryAction interface.
  
<xs:element name="Condition" maxOccurs="1" minOccurs="0">  
  <xs:complexType>  
    <xs:choice>  
      <xs:element name="PowerShell" type="PowerShellActionElement" />  
      <xs:element name="Binary" type="BinaryActionElement" />  
    </xs:choice>  
  </xs:complexType>  
</xs:element>  
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Attributes
| Element | Description | 
|---|---|
| PowerShell Element | Specifies a PowerShell script that checks the condition of a feature. If the script evaluates to true, the feature is healthy. | 
| Binary Element | Specifies a managed assembly that checks the condition of a feature. If the program evaluates to true, the feature is healthy. | 
Parent Elements
| Element | Description | 
|---|---|
| HealthDefinition Element | Specifies alerts, health states, and repairs for the health add-in. |