Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 1.5 KB

scriptblock-element-for-wideitem-for-widecontrol-format.md

File metadata and controls

71 lines (47 loc) · 1.5 KB
description ms.date ms.topic title
ScriptBlock Element for WideItem for WideControl
08/24/2021
reference
ScriptBlock Element for WideItem for WideControl

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