Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScriptBlock Element for GroupBy (Format)

 

Specifies the script that starts a new group whenever its value changes.

<ScriptBolck>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

GroupBy Element for View (Format)

Defines how a group of .NET Framework objects is displayed.

Text Value

Specify the script that is evaluated.

Windows PowerShell starts a new group whenever the value of this script changes.

When this element is specified, you cannot specify the PropertyName element to start a new group.

Show: