ScriptBlock Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion

Specifies the script that triggers the condition.

Schema

  • Configuration Element
  • DefaultSettings Element
  • EnumerableExpansions Element
  • EnumerableExpansion Element
  • EntrySelectedBy Element
  • SelectionCondition Element
  • ScriptBlock Element

Syntax

<ScriptBlock>ScriptToEvaluate</ScriptBlock>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the ScriptBlock element.

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
SelectionCondition Element for EntrySelectedBy for EnumerableExpansion Defines the condition that must exist to expand the collection objects of this definition.

Text Value

Specify the script that is evaluated.

Remarks

The selection condition must specify at least one script or property name to evaluate, but cannot specify both. For more information about how to use selection conditions, see Defining Conditions for when Data is Displayed.

See Also

Defining Conditions for When Data Is Displayed

PropertyName Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion

SelectionCondition Element for EntrySelectedBy for EnumerableExpansion

Writing a PowerShell Formatting File