Upravit

Sdílet prostřednictvím


ScriptBlock Element for WideItem for WideControl

Specifies the script whose value is displayed in the wide view.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • WideControl Element
  • WideEntries Element
  • WideEntry Element
  • WideItem Element
  • ScriptBlock Element

Syntax

<ScriptBlock>ScriptToExecute</ScriptBlock>

Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
WideItem Element Defines the property or script block whose value is displayed in the wide view.

Text Value

Specify the script whose value is displayed.

Remarks

For more information about the components of a wide view, see Creating a Wide View.

Example

This example shows a WideItem element that defines a script whose value is displayed in the view.

<WideItem>
  <ScriptBlock>ScriptToExecute</ScriptBlock>
</WideItem>

See Also

WideItem Element

Creating a Wide View

Writing a PowerShell Formatting File