Updates from: 08/24/2021 03:26:42
Service Microsoft Docs article Related commit history on GitHub Change details
Microsoft.PowerShell.Utility Write Progress (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Utility/Write-Progress.md
Title: Write-Progress
--- # Write-Progress
-## SYNOPSIS
+## Synopsis
Displays a progress bar within a PowerShell command window.
-## SYNTAX
+## Syntax
``` Write-Progress [-Activity] <String> [[-Status] <String>] [[-Id] <Int32>] [-PercentComplete <Int32>]
Write-Progress [-Activity] <String> [[-Status] <String>] [[-Id] <Int32>] [-Perce
[<CommonParameters>] ```
-## DESCRIPTION
+## Description
The `Write-Progress` cmdlet displays a progress bar in a PowerShell command window that depicts the status of a running command or script. You can select the indicators that the bar reflects and the text that appears above and below the progress bar.
-## EXAMPLES
+## Examples
### Example 1: Display the progress of a For loop
Step 1
In this example you can use the **ParentId** parameter to have indented output to show parent/child relationships in the progress of each step.
-## PARAMETERS
+## Parameters
### -Activity
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md).
-## INPUTS
+## Inputs
### None You cannot pipe input to this cmdlet.
-## OUTPUTS
+## Outputs
### None `Write-Progress` does not generate any output.
-## NOTES
+## Notes
If the progress bar does not appear, check the value of the `$ProgressPreference` variable. If the value is set to SilentlyContinue, the progress bar is not displayed. For more information about
The parameters of the cmdlet correspond to the properties of the
**System.Management.Automation.ProgressRecord** class. For more information, see [ProgressRecord Class](/dotnet/api/system.management.automation.progressrecord).
-## RELATED LINKS
+## Related links
[Write-Debug](Write-Debug.md)
Microsoft.PowerShell.Utility Write Progress (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Write-Progress.md
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility Previously updated : 04/29/2021 Last updated : 08/23/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-7&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Write-Progress --- # Write-Progress
-## SYNOPSIS
+## Synopsis
Displays a progress bar within a PowerShell command window.
-## SYNTAX
+## Syntax
``` Write-Progress [-Activity] <String> [[-Status] <String>] [[-Id] <Int32>] [-PercentComplete <Int32>]
Write-Progress [-Activity] <String> [[-Status] <String>] [[-Id] <Int32>] [-Perce
[<CommonParameters>] ```
-## DESCRIPTION
+## Description
The `Write-Progress` cmdlet displays a progress bar in a PowerShell command window that depicts the status of a running command or script. You can select the indicators that the bar reflects and the text that appears above and below the progress bar.
-## EXAMPLES
+## Examples
### Example 1: Display the progress of a For loop
displayed one below the other.
### Example 3: Display the progress while searching for a string ```powershell
-# Use Get-EventLog to get the events in the System log and store them in the $Events variable.
-$Events = Get-EventLog -LogName system
+# Use Get-WinEvent to get the events in the System log and store them in the $Events variable.
+$Events = Get-WinEvent -LogName system
# Pipe the events to the ForEach-Object cmdlet. $Events | ForEach-Object -Begin { # In the Begin block, use Clear-Host to clear the screen.
Step 1
In this example you can use the **ParentId** parameter to have indented output to show parent/child relationships in the progress of each step.
-## PARAMETERS
+## Parameters
### -Activity
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md).
-## INPUTS
+## Inputs
### None You cannot pipe input to this cmdlet.
-## OUTPUTS
+## Outputs
### None `Write-Progress` does not generate any output.
-## NOTES
+## Notes
If the progress bar does not appear, check the value of the `$ProgressPreference` variable. If the value is set to SilentlyContinue, the progress bar is not displayed. For more information about
The parameters of the cmdlet correspond to the properties of the
**System.Management.Automation.ProgressRecord** class. For more information, see [ProgressRecord Class](/dotnet/api/system.management.automation.progressrecord).
-## RELATED LINKS
+## Related links
[Write-Debug](Write-Debug.md)
Microsoft.PowerShell.Utility Write Progress (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Write-Progress.md
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility Previously updated : 04/29/2021 Last updated : 08/23/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-7.1&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Write-Progress --- # Write-Progress
-## SYNOPSIS
+## Synopsis
Displays a progress bar within a PowerShell command window.
-## SYNTAX
+## Syntax
``` Write-Progress [-Activity] <String> [[-Status] <String>] [[-Id] <Int32>] [-PercentComplete <Int32>]
Write-Progress [-Activity] <String> [[-Status] <String>] [[-Id] <Int32>] [-Perce
[<CommonParameters>] ```
-## DESCRIPTION
+## Description
The `Write-Progress` cmdlet displays a progress bar in a PowerShell command window that depicts the status of a running command or script. You can select the indicators that the bar reflects and the text that appears above and below the progress bar.
-## EXAMPLES
+## Examples
### Example 1: Display the progress of a For loop
displayed one below the other.
### Example 3: Display the progress while searching for a string ```powershell
-# Use Get-EventLog to get the events in the System log and store them in the $Events variable.
-$Events = Get-EventLog -LogName system
+# Use Get-WinEvent to get the events in the System log and store them in the $Events variable.
+$Events = Get-WinEvent -LogName system
# Pipe the events to the ForEach-Object cmdlet. $Events | ForEach-Object -Begin { # In the Begin block, use Clear-Host to clear the screen.
Step 1
In this example you can use the **ParentId** parameter to have indented output to show parent/child relationships in the progress of each step.
-## PARAMETERS
+## Parameters
### -Activity
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md).
-## INPUTS
+## Inputs
### None You cannot pipe input to this cmdlet.
-## OUTPUTS
+## Outputs
### None `Write-Progress` does not generate any output.
-## NOTES
+## Notes
If the progress bar does not appear, check the value of the `$ProgressPreference` variable. If the value is set to SilentlyContinue, the progress bar is not displayed. For more information about
The parameters of the cmdlet correspond to the properties of the
**System.Management.Automation.ProgressRecord** class. For more information, see [ProgressRecord Class](/dotnet/api/system.management.automation.progressrecord).
-## RELATED LINKS
+## Related links
[Write-Debug](Write-Debug.md)
Microsoft.PowerShell.Utility Write Progress (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Write-Progress.md
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Utility Previously updated : 04/29/2021 Last updated : 08/23/2021 online version: https://docs.microsoft.com/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 Title: Write-Progress --- # Write-Progress
-## SYNOPSIS
+## Synopsis
Displays a progress bar within a PowerShell command window.
-## SYNTAX
+## Syntax
``` Write-Progress [-Activity] <String> [[-Status] <String>] [[-Id] <Int32>] [-PercentComplete <Int32>]
Write-Progress [-Activity] <String> [[-Status] <String>] [[-Id] <Int32>] [-Perce
[<CommonParameters>] ```
-## DESCRIPTION
+## Description
The `Write-Progress` cmdlet displays a progress bar in a PowerShell command window that depicts the status of a running command or script. You can select the indicators that the bar reflects and the
you to control progress view bar rendering.
> If the host doesn't support Virtual Terminal, `$PSStyle.Progress.View` is automatically set to > `Classic`.
-## EXAMPLES
+## Examples
### Example 1: Display the progress of a For loop
displayed one below the other.
### Example 3: Display the progress while searching for a string ```powershell
-# Use Get-EventLog to get the events in the System log and store them in the $Events variable.
-$Events = Get-EventLog -LogName system
+# Use Get-WinEvent to get the events in the System log and store them in the $Events variable.
+$Events = Get-WinEvent -LogName system
# Pipe the events to the ForEach-Object cmdlet. $Events | ForEach-Object -Begin { # In the Begin block, use Clear-Host to clear the screen.
Step 1
In this example you can use the **ParentId** parameter to have indented output to show parent/child relationships in the progress of each step.
-## PARAMETERS
+## Parameters
### -Activity
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](../Microsoft.PowerShell.Core/About/about_CommonParameters.md).
-## INPUTS
+## Inputs
### None You cannot pipe input to this cmdlet.
-## OUTPUTS
+## Outputs
### None `Write-Progress` does not generate any output.
-## NOTES
+## Notes
If the progress bar does not appear, check the value of the `$ProgressPreference` variable. If the value is set to SilentlyContinue, the progress bar is not displayed. For more information about
The parameters of the cmdlet correspond to the properties of the
**System.Management.Automation.ProgressRecord** class. For more information, see [ProgressRecord Class](/dotnet/api/system.management.automation.progressrecord).
-## RELATED LINKS
+## Related links
[Write-Debug](Write-Debug.md)
developer Defaultsettings Element Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/defaultsettings-element-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: DefaultSettings Element (Format)
-description: DefaultSettings Element (Format)
+ Title: DefaultSettings Element
+description: DefaultSettings Element
---
-# DefaultSettings Element (Format)
+# DefaultSettings Element
-Defines common settings that apply to all the views of the formatting file. Common settings include displaying errors, wrapping text in tables, defining how collections are expanded, and more.
+Defines common settings that apply to all the views of the formatting file. Common settings include
+displaying errors, wrapping text in tables, defining how collections are expanded, and more.
-Configuration Element (Format)
-DefaultSettings Element (Format)
+## Schema
+
+- Configuration Element
+- DefaultSettings Element
## Syntax
DefaultSettings Element (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `DefaultSettings` element.
+The following sections describe attributes, child elements, and the parent element of the
+`DefaultSettings` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[DisplayError Element (Format)](./displayerror-element-format.md)|Optional element.<br /><br /> Specifies that the string #ERR is displayed when an error occurs while displaying a piece of data.|
-|[EnumerableExpansions Element (Format)](./enumerableexpansions-element-format.md)|Optional element.<br /><br /> Defines the different ways that .NET objects are expanded when they are displayed in a view.|
-|[PropertyCountForTable (Format)](./propertycountfortable-element-format.md)|Optional element.<br /><br /> Specifies the minimum number of properties that an object must have to display the object in a table view.|
-|[ShowError Element (Format)](./showerror-element-format.md)|Optional element.<br /><br /> Specifies that the full error record is displayed when an error occurs while displaying a piece of data.|
-|[WrapTables Element (Format)](./wraptables-element-format.md)|Optional element.<br /><br /> Specifies that data in a table is moved to the next line if it does not fit into the width of the column.|
+|[DisplayError Element](./displayerror-element-format.md)|Optional element.<br /><br /> Specifies that the string #ERR is displayed when an error occurs while displaying a piece of data.|
+|[EnumerableExpansions Element](./enumerableexpansions-element-format.md)|Optional element.<br /><br /> Defines the different ways that .NET objects are expanded when they are displayed in a view.|
+|[PropertyCountForTable](./propertycountfortable-element-format.md)|Optional element.<br /><br /> Specifies the minimum number of properties that an object must have to display the object in a table view.|
+|[ShowError Element](./showerror-element-format.md)|Optional element.<br /><br /> Specifies that the full error record is displayed when an error occurs while displaying a piece of data.|
+|[WrapTables Element](./wraptables-element-format.md)|Optional element.<br /><br /> Specifies that data in a table is moved to the next line if it does not fit into the width of the column.|
### Parent Elements
None.
[Configuration Element](./configuration-element-format.md)
-[DisplayError Element (Format)](./displayerror-element-format.md)
+[DisplayError Element](./displayerror-element-format.md)
-[EnumerableExpansions Element (Format)](./enumerableexpansions-element-format.md)
+[EnumerableExpansions Element](./enumerableexpansions-element-format.md)
-[PropertyCountForTable (Format)](./propertycountfortable-element-format.md)
+[PropertyCountForTable](./propertycountfortable-element-format.md)
-[ShowError Element (Format)](./showerror-element-format.md)
+[ShowError Element](./showerror-element-format.md)
-[WrapTables Element (Format)](./wraptables-element-format.md)
+[WrapTables Element](./wraptables-element-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Defining Conditions For Displaying Data https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/defining-conditions-for-displaying-data.md
description: Defining Conditions for Displaying Data
--- # Defining Conditions for Displaying Data
-When defining what data is displayed by a view or a control, you can specify a condition that must exist for the data to be displayed. The condition can be triggered by a specific property, or when a script or property value evaluates to `true`. When the selection condition is met, the definition of the view or control is used.
+When defining what data is displayed by a view or a control, you can specify a condition that must
+exist for the data to be displayed. The condition can be triggered by a specific property, or when a
+script or property value evaluates to `true`. When the selection condition is met, the definition of
+the view or control is used.
## Specifying a Selection Condition for a Definition
-When creating a definition for a view or control, the `EntrySelectedBy` element is used to specify which objects will use the definition or what condition must exist for the definition to be used. The condition is specified by the `SelectionCondition` element.
+When creating a definition for a view or control, the `EntrySelectedBy` element is used to specify
+which objects will use the definition or what condition must exist for the definition to be used.
+The condition is specified by the `SelectionCondition` element.
-In the following example, a selection condition is specified for a definition of a table view. In this example, the definition is used only when the specified script is evaluated to `true`.
+In the following example, a selection condition is specified for a definition of a table view. In
+this example, the definition is used only when the specified script is evaluated to `true`.
```xml <TableRowEntry>
In the following example, a selection condition is specified for a definition of
```
-There is no limit to the number of selection conditions that you can specify for a definition of a view or control. The only requirements are the following:
+There is no limit to the number of selection conditions that you can specify for a definition of a
+view or control. The only requirements are the following:
-- The selection condition must specify one property name or script to trigger the condition, but cannot specify both.
+- The selection condition must specify one property name or script to trigger the condition, but
+ cannot specify both.
-- The selection condition can specify any number of .NET types or selection sets, but cannot specify both.
+- The selection condition can specify any number of .NET types or selection sets, but cannot specify
+ both.
## Specifying a Selection Condition for an Item
-You can also specify when an item of a list view or control is used by including the `ItemSelectionCondition` element in the item definition. In the following example, a selection condition is specified for an item of a list view. In this example, the item is used only when the script is evaluated to `true`.
+You can also specify when an item of a list view or control is used by including the
+`ItemSelectionCondition` element in the item definition. In the following example, a selection
+condition is specified for an item of a list view. In this example, the item is used only when the
+script is evaluated to `true`.
```xml <ListItem>
You can also specify when an item of a list view or control is used by including
```
-You can specify only one selection condition for an item. And the condition must specify one property name or script to trigger the condition, but cannot specify both.
+You can specify only one selection condition for an item. And the condition must specify one
+property name or script to trigger the condition, but cannot specify both.
## XML Elements
developer Defining Selection Sets https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/defining-selection-sets.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Defining Selection Sets description: Defining Selection Sets --- # Defining Selection Sets
-When creating multiple views and controls, you can define sets of objects that are referred to as selection sets. A selection set enables you to define the objects one time, without having to define them repeatedly for each view or control. Typically, selection sets are used when you have a set of related .NET objects. For example, The `FileSystem` formatting file (FileSystem.format.ps1xml) defines a selection set of the file system types that several views use.
+When creating multiple views and controls, you can define sets of objects that are referred to as
+selection sets. A selection set enables you to define the objects one time, without having to define
+them repeatedly for each view or control. Typically, selection sets are used when you have a set of
+related .NET objects. For example, The `FileSystem` formatting file (FileSystem.format.ps1xml)
+defines a selection set of the file system types that several views use.
## Where Selection Sets are Defined and Referenced
-You define selection sets as part of the common data that can be used by all the views and controls defined in the formatting file. The following example shows how to define three selection sets.
+You define selection sets as part of the common data that can be used by all the views and controls
+defined in the formatting file. The following example shows how to define three selection sets.
```xml <Configuration>
You define selection sets as part of the common data that can be used by all the
You can reference a selection sets in the following ways: -- Each view has a `ViewSelectedBy` element that defines which objects are displayed by using the view. The `ViewSelectedBy` element has a `SelectionSetName` child element that specifies the selection set that all the definitions of the view use. There is no restriction on the number of selection sets that you can reference from a view.
+- Each view has a `ViewSelectedBy` element that defines which objects are displayed by using the
+ view. The `ViewSelectedBy` element has a `SelectionSetName` child element that specifies the
+ selection set that all the definitions of the view use. There is no restriction on the number of
+ selection sets that you can reference from a view.
-- In each definition of a view or control, the `EntrySelectedBy` element defines which objects are displayed by using that definition. Typically a view or control has only one definition so the objects are defined by the `ViewSelectedBy` element. The `EntrySelectedBy` element of the definition has a `SelectionSetName` child element that specifies the selection set. If you specify the selection set for a definition, you cannot specify any of the other child elements of the `EntrySelectedBy` element.
+- In each definition of a view or control, the `EntrySelectedBy` element defines which objects are
+ displayed by using that definition. Typically a view or control has only one definition so the
+ objects are defined by the `ViewSelectedBy` element. The `EntrySelectedBy` element of the
+ definition has a `SelectionSetName` child element that specifies the selection set. If you specify
+ the selection set for a definition, you cannot specify any of the other child elements of the
+ `EntrySelectedBy` element.
-- In each definition of a view or control, the `SelectionCondition` element can be used to specify a condition for when the definition is used. The `SelectionCondition` element has a `SelectionSetName` child element that specifies the selection set that triggers the condition. The condition is triggered when any of the objects defined in the selection set are displayed. For more information about how to set these conditions, see [Defining Conditions for when Data is Displayed](./defining-conditions-for-displaying-data.md).
+- In each definition of a view or control, the `SelectionCondition` element can be used to specify a
+ condition for when the definition is used. The `SelectionCondition` element has a
+ `SelectionSetName` child element that specifies the selection set that triggers the condition. The
+ condition is triggered when any of the objects defined in the selection set are displayed. For
+ more information about how to set these conditions, see [Defining Conditions for when Data is Displayed](./defining-conditions-for-displaying-data.md).
## Selection Set Example
-The following example shows a selection set that is taken directly from the `FileSystem` formatting file provided by Windows PowerShell. For more information about other Windows PowerShell formatting files, see [Windows PowerShell Formatting Files](./powershell-formatting-files.md).
+The following example shows a selection set that is taken directly from the `FileSystem` formatting
+file provided by Windows PowerShell. For more information about other Windows PowerShell formatting
+files, see [Windows PowerShell Formatting Files](./powershell-formatting-files.md).
```xml <SelectionSets>
The previous selection set is referenced in the `ViewSelectedBy` element of a ta
## XML Elements
- There is no limit to the number of selection sets that you can define. The following XML elements are used to create a selection set.
+ There is no limit to the number of selection sets that you can define. The following XML elements
+ are used to create a selection set.
-- The [SelectionSets](./selectionsets-element-format.md) element defines the sets of .NET objects that are referenced by the views and controls of the formatting file.
+- The [SelectionSets](./selectionsets-element-format.md) element defines the sets of .NET objects
+ that are referenced by the views and controls of the formatting file.
- The [SelectionSet](./selectionset-element-format.md) element defines a single set of .NET objects. -- The [Name](./name-element-for-selectionset-format.md) element specifies the name that is used to reference the selection set.
+- The [Name](./name-element-for-selectionset-format.md) element specifies the name that is used to
+ reference the selection set.
-- The [Types](./types-element-for-selectionset-format.md) element specifies the .NET types of the objects of the selection set. (Within formatting files, objects are specified by their .NET type.)
+- The [Types](./types-element-for-selectionset-format.md) element specifies the .NET types of the
+ objects of the selection set. (Within formatting files, objects are specified by their .NET type.)
- The following XML elements are used to specify a selection set.
+The following XML elements are used to specify a selection set.
- The following element specifies the selection set to use in all the definitions of the view:
developer Displayerror Element Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/displayerror-element-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: DisplayError Element (Format)
-description: DisplayError Element (Format)
+ Title: DisplayError Element
+description: DisplayError Element
---
-# DisplayError Element (Format)
+# DisplayError Element
Specifies that the string #ERR is displayed when an error occurs displaying a piece of data.
-Configuration Element (Format)
-DefaultSettings Element (Format)
-DisplayError Element (Format)
+## Schema
+
+- Configuration Element
+- DefaultSettings Element
+- DisplayError Element
## Syntax
DisplayError Element (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `DisplayError` element.
+The following sections describe attributes, child elements, and the parent element of the
+`DisplayError` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[DefaultSettings Element (Format)](./defaultsettings-element-format.md)|Defines common settings that apply to all the views of the formatting file.|
+|[DefaultSettings Element](./defaultsettings-element-format.md)|Defines common settings that apply to all the views of the formatting file.|
## Remarks
-By default, when an error occurs while trying to display a piece of data, the location of the data is left blank. When this element is set to true, the #ERR string will be displayed.
+By default, when an error occurs while trying to display a piece of data, the location of the data
+is left blank. When this element is set to true, the #ERR string will be displayed.
## See Also
-[DefaultSettings Element (Format)](./defaultsettings-element-format.md)
+[DefaultSettings Element](./defaultsettings-element-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Entryselectedby Element For Customentry For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/entryselectedby-element-for-customentry-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EntrySelectedBy Element for CustomEntry for Controls for Configuration (Format)
-description: EntrySelectedBy Element for CustomEntry for Controls for Configuration (Format)
+ Title: EntrySelectedBy Element for CustomEntry for Controls
+description: EntrySelectedBy Element for CustomEntry for Controls
---
-# EntrySelectedBy Element for CustomEntry for Controls for Configuration (Format)
+# EntrySelectedBy Element for CustomEntry for Controls
-Defines the .NET types that use the definition of the common control or the condition that must exist for this control to be used. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines the .NET types that use the definition of the common control or the condition that must
+exist for this control to be used. This element is used when defining a common control that can be
+used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-CustomControl Element for Control for Configuration (Format)
-CustomEntries Element for CustomControl for Configuration (Format)
-CustomEntry Element for CustomControl for Controls for Configuration (Format)
-EntrySelectedBy Element for CustomEntry for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- EntrySelectedBy Element
## Syntax
EntrySelectedBy Element for CustomEntry for Controls for Configuration (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EntrySelectedBy` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EntrySelectedBy` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[SelectionCondition Element for EntrySelectedBy for Controls for Configuration (Format)](./selectioncondition-element-for-entryselectedby-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Defines the condition that must exist for the common control definition to be used.|
-|[SelectionSetName Element for EntrySelectedBy for Controls for Configuration (Format)](./selectionsetname-element-for-selectioncondition-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of the common control.|
-|[TypeName Element for EntrySelectedBy for Controls for Configuration (Format)](./typename-element-for-entryselectedby-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of the common control.|
+|[SelectionCondition Element for EntrySelectedBy for Controls for Configuration](./selectioncondition-element-for-entryselectedby-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Defines the condition that must exist for the common control definition to be used.|
+|[SelectionSetName Element for EntrySelectedBy for Controls for Configuration](./selectionsetname-element-for-selectioncondition-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of the common control.|
+|[TypeName Element for EntrySelectedBy for Controls for Configuration](./typename-element-for-entryselectedby-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of the common control.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[CustomEntry Element for CustomControl for Controls for Configuration (Format)](./customentry-element-for-customcontrol-for-controls-for-configuration-format.md)|Provides a definition of the common control.|
+|[CustomEntry Element for CustomControl for Controls for Configuration](./customentry-element-for-customcontrol-for-controls-for-configuration-format.md)|Provides a definition of the common control.|
## Remarks
-At a minimum, each definition must have at least one .NET type, selection set, or selection condition specified. There is no maximum limit to the number of types, selection sets, or selection conditions that you can specify.
+At a minimum, each definition must have at least one .NET type, selection set, or selection
+condition specified. There is no maximum limit to the number of types, selection sets, or selection
+conditions that you can specify.
## See Also
-[SelectionCondition Element for EntrySelectedBy for Controls for Configuration (Format)](./selectioncondition-element-for-entryselectedby-for-controls-for-configuration-format.md)
+[SelectionCondition Element for EntrySelectedBy for Controls for Configuration](./selectioncondition-element-for-entryselectedby-for-controls-for-configuration-format.md)
-[SelectionSetName Element for EntrySelectedBy for Controls for Configuration (Format)](./selectionsetname-element-for-selectioncondition-for-controls-for-configuration-format.md)
+[SelectionSetName Element for EntrySelectedBy for Controls for Configuration](./selectionsetname-element-for-selectioncondition-for-controls-for-configuration-format.md)
-[CustomEntry Element for CustomControl for Controls for Configuration (Format)](./customentry-element-for-customcontrol-for-controls-for-configuration-format.md)
+[CustomEntry Element for CustomControl for Controls for Configuration](./customentry-element-for-customcontrol-for-controls-for-configuration-format.md)
-[TypeName Element for EntrySelectedBy for Controls for Configuration (Format)](./typename-element-for-selectioncondition-for-controls-for-configuration-format.md)
+[TypeName Element for EntrySelectedBy for Controls for Configuration](./typename-element-for-selectioncondition-for-controls-for-configuration-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Entryselectedby Element For Customentry For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/entryselectedby-element-for-customentry-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EntrySelectedBy Element for CustomEntry for Controls for View (Format)
-description: EntrySelectedBy Element for CustomEntry for Controls for View (Format)
+ Title: EntrySelectedBy Element for CustomEntry for Controls for View
+description: EntrySelectedBy Element for CustomEntry for Controls for View
---
-# EntrySelectedBy Element for CustomEntry for Controls for View (Format)
+# EntrySelectedBy Element for CustomEntry for Controls for View
-Defines the .NET types that use this control definition or the condition that must exist for this definition to be used. This element is used when defining controls that can be used by a view.
+Defines the .NET types that use this control definition or the condition that must exist for this
+definition to be used. This element is used when defining controls that can be used by a view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-CustomControl Element for Control for Controls for View (Format)
-CustomEntries Element for CustomControl for Controls for View (Format)
-CustomEntry Element for CustomEntries for Controls for View (Format)
-EntrySelectedBy Element for CustomEntry for Controls for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- EntrySelectedBy Element
## Syntax
EntrySelectedBy Element for CustomEntry for Controls for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `EntrySelectedBy` element. You must specify at least one type, selection set, or selection condition for a definition. There is no maximum limit to the number of child elements that you can use.
+The following sections describe attributes, child elements, and parent element of the
+`EntrySelectedBy` element. You must specify at least one type, selection set, or selection condition
+for a definition. There is no maximum limit to the number of child elements that you can use.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[SelectionCondition Element for EntrySelectedBy for Controls for View (Format)](./selectioncondition-element-for-entryselectedby-for-controls-for-view-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this definition to be used.|
-|[SelectionSetName Element for EntrySelectedBy for Controls for View (Format)](./selectionsetname-element-for-entryselectedby-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of the control.|
-|[TypeName Element for EntrySelectedBy for Controls for View (Format)](./typename-element-for-entryselectedby-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of the control.|
+|[SelectionCondition Element for EntrySelectedBy for Controls for View](./selectioncondition-element-for-entryselectedby-for-controls-for-view-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this definition to be used.|
+|[SelectionSetName Element for EntrySelectedBy for Controls for View](./selectionsetname-element-for-entryselectedby-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of the control.|
+|[TypeName Element for EntrySelectedBy for Controls for View](./typename-element-for-entryselectedby-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of the control.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[CustomEntry Element for CustomEntries for Controls for View (Format)](./customentry-element-for-customentries-for-controls-for-view-format.md)|Provides a definition of the control.|
+|[CustomEntry Element for CustomEntries for Controls for View](./customentry-element-for-customentries-for-controls-for-view-format.md)|Provides a definition of the control.|
## Remarks
-Selection conditions are used to define a condition that must exist for the definition to be used, such as when an object has a specific property or when a specific property value or script evaluates to `true`. For more information about selection conditions, see [Defining Conditions for when a View Entry or Item is Used](./defining-conditions-for-displaying-data.md).
+Selection conditions are used to define a condition that must exist for the definition to be used,
+such as when an object has a specific property or when a specific property value or script evaluates
+to `true`. For more information about selection conditions, see [Defining Conditions for when a View Entry or Item is Used](./defining-conditions-for-displaying-data.md).
## See Also
-[CustomEntry Element for CustomEntries for Controls for View (Format)](./customentry-element-for-customentries-for-controls-for-view-format.md)
+[CustomEntry Element for CustomEntries for Controls for View](./customentry-element-for-customentries-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Entryselectedby Element For Customentry For Customcontrol For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/entryselectedby-element-for-customentry-for-customcontrol-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EntrySelectedBy Element for CustomEntry for CustomControl for View (Format)
-description: EntrySelectedBy Element for CustomEntry for CustomControl for View (Format)
+ Title: EntrySelectedBy Element for CustomEntry for CustomControl for View
+description: EntrySelectedBy Element for CustomEntry for CustomControl for View
---
-# EntrySelectedBy Element for CustomEntry for CustomControl for View (Format)
+# EntrySelectedBy Element for CustomEntry for CustomControl for View
Defines the .NET types that use this custom entry or the condition that must exist for this entry to be used.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-CustomControl Element (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for View (Format)
-EntrySelectedBy Element for CustomEntry for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- EntrySelectedBy Element
## Syntax
EntrySelectedBy Element for CustomEntry for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EntrySelectedBy` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EntrySelectedBy` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[SelectionCondition Element for EntrySelectedBy for CustomEntry (Format)](./selectioncondition-element-for-entryselectedby-for-customcontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this definition to be used.|
-|[SelectionSetName Element for EntrySelectedBy for CustomEntry (Format)](./selectionsetname-element-for-entryselectedby-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of the control view.|
-|[TypeName Element for EntrySelectedBy for CustomEntry (Format)](./typename-element-for-selectioncondition-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of the control view.|
+|[SelectionCondition Element for EntrySelectedBy for CustomEntry](./selectioncondition-element-for-entryselectedby-for-customcontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this definition to be used.|
+|[SelectionSetName Element for EntrySelectedBy for CustomEntry](./selectionsetname-element-for-entryselectedby-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of the control view.|
+|[TypeName Element for EntrySelectedBy for CustomEntry](./typename-element-for-selectioncondition-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of the control view.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[CustomEntry Element for CustomEntries for View (Format)](./customentry-element-for-customentries-for-customcontrol-for-view-format.md)|Defines the controls used by specific .NET objects.|
+|[CustomEntry Element for CustomEntries for View](./customentry-element-for-customentries-for-customcontrol-for-view-format.md)|Defines the controls used by specific .NET objects.|
## Remarks
-You must specify at least one type, selection set, or selection condition for an entry. There is no maximum limit to the number of child elements that you can use.
+You must specify at least one type, selection set, or selection condition for an entry. There is no
+maximum limit to the number of child elements that you can use.
-Selection conditions are used to define a condition that must exist for the entry to be used, such as when an object has a specific property or when a specific property value or script evaluates to `true`. For more information about selection conditions, see [Defining Conditions for when a View Entry or Item is Used](./defining-conditions-for-displaying-data.md).
+Selection conditions are used to define a condition that must exist for the entry to be used, such
+as when an object has a specific property or when a specific property value or script evaluates to
+`true`. For more information about selection conditions, see [Defining Conditions for when a View Entry or Item is Used](./defining-conditions-for-displaying-data.md).
For more information about the components of a custom control view, see [Custom Control View](./creating-custom-controls.md). ## See Also
-[SelectionCondition Element for EntrySelectedBy for CustomEntry (Format)](./selectioncondition-element-for-entryselectedby-for-customcontrol-format.md)
+[SelectionCondition Element for EntrySelectedBy for CustomEntry](./selectioncondition-element-for-entryselectedby-for-customcontrol-format.md)
-[SelectionSetName Element for EntrySelectedBy for CustomEntry (Format)](./selectionsetname-element-for-entryselectedby-for-customcontrol-for-view-format.md)
+[SelectionSetName Element for EntrySelectedBy for CustomEntry](./selectionsetname-element-for-entryselectedby-for-customcontrol-for-view-format.md)
-[TypeName Element for EntrySelectedBy for CustomEntry (Format)](./typename-element-for-selectioncondition-for-customcontrol-for-view-format.md)
+[TypeName Element for EntrySelectedBy for CustomEntry](./typename-element-for-selectioncondition-for-customcontrol-for-view-format.md)
-[CustomEntry Element for CustomEntries for View (Format)](./customentry-element-for-customentries-for-customcontrol-for-view-format.md)
+[CustomEntry Element for CustomEntries for View](./customentry-element-for-customentries-for-customcontrol-for-view-format.md)
[Custom Control View](./creating-custom-controls.md)
developer Entryselectedby Element For Customentry For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/entryselectedby-element-for-customentry-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EntrySelectedBy Element for CustomEntry for GroupBy (Format)
-description: EntrySelectedBy Element for CustomEntry for GroupBy (Format)
+ Title: EntrySelectedBy Element for CustomEntry for GroupBy
+description: EntrySelectedBy Element for CustomEntry for GroupBy
---
-# EntrySelectedBy Element for CustomEntry for GroupBy (Format)
+# EntrySelectedBy Element for CustomEntry for GroupBy
-Defines the .NET types that use this control definition or the condition that must exist for this definition to be used. This element is used when defining how a new group of objects is displayed.
+Defines the .NET types that use this control definition or the condition that must exist for this
+definition to be used. This element is used when defining how a new group of objects is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-CustomControl Element for GroupBy (Format)
-CustomEntries Element for CustomControl for GroupBy (Format)
-CustomEntry Element for CustomControl for GroupBy (Format)
-EntrySelectedBy Element for CustomEntry for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element for View
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- EntrySelectedBy Element
## Syntax
EntrySelectedBy Element for CustomEntry for GroupBy (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `EntrySelectedBy` element. You must specify at least one type, selection set, or selection condition for a definition. There is no maximum limit to the number of child elements that you can use.
+The following sections describe attributes, child elements, and parent element of the
+`EntrySelectedBy` element. You must specify at least one type, selection set, or selection condition
+for a definition. There is no maximum limit to the number of child elements that you can use.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[SelectionCondition Element for EntrySelectedBy for GroupBy (Format)](./selectioncondition-element-for-entryselectedby-for-groupby-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this definition to be used.|
-|[SelectionSetName Element for EntrySelectedBy for GroupBy (Format)](./selectionsetname-element-for-entryselectedby-for-groupby-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of the control.|
-|[TypeName Element for EntrySelectedBy for GroupBy (Format)](./typename-element-for-entryselectedby-for-groupby-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of the control.|
+|[SelectionCondition Element for EntrySelectedBy for GroupBy](./selectioncondition-element-for-entryselectedby-for-groupby-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this definition to be used.|
+|[SelectionSetName Element for EntrySelectedBy for GroupBy](./selectionsetname-element-for-entryselectedby-for-groupby-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of the control.|
+|[TypeName Element for EntrySelectedBy for GroupBy](./typename-element-for-entryselectedby-for-groupby-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of the control.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[CustomEntry Element for CustomControl for GroupBy (Format)](./customentry-element-for-customcontrol-for-groupby-format.md)|Provides a definition of the control.|
+|[CustomEntry Element for CustomControl for GroupBy](./customentry-element-for-customcontrol-for-groupby-format.md)|Provides a definition of the control.|
## Remarks
-Selection conditions are used to define a condition that must exist for the definition to be used, such as when an object has a specific property or when a specific property value or script evaluates to `true`. For more information about selection conditions, see [Defining Conditions for when a View Entry or Item is Used](./defining-conditions-for-displaying-data.md).
+Selection conditions are used to define a condition that must exist for the definition to be used,
+such as when an object has a specific property or when a specific property value or script evaluates
+to `true`. For more information about selection conditions, see [Defining Conditions for when a View Entry or Item is Used](./defining-conditions-for-displaying-data.md).
## See Also
-[SelectionCondition Element for EntrySelectedBy for GroupBy (Format)](./selectioncondition-element-for-entryselectedby-for-groupby-format.md)
+[SelectionCondition Element for EntrySelectedBy for GroupBy](./selectioncondition-element-for-entryselectedby-for-groupby-format.md)
-[SelectionSetName Element for EntrySelectedBy for GroupBy (Format)](./selectionsetname-element-for-entryselectedby-for-groupby-format.md)
+[SelectionSetName Element for EntrySelectedBy for GroupBy](./selectionsetname-element-for-entryselectedby-for-groupby-format.md)
-[TypeName Element for EntrySelectedBy for GroupBy (Format)](./typename-element-for-entryselectedby-for-groupby-format.md)
+[TypeName Element for EntrySelectedBy for GroupBy](./typename-element-for-entryselectedby-for-groupby-format.md)
-[CustomEntry Element for CustomEntries for Controls for View (Format)](./customentry-element-for-customentries-for-controls-for-view-format.md)
+[CustomEntry Element for CustomEntries for Controls for View](./customentry-element-for-customentries-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Entryselectedby Element For Enumerableexpansion Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/entryselectedby-element-for-enumerableexpansion-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EntrySelectedBy Element for EnumerableExpansion (Format)
-description: EntrySelectedBy Element for EnumerableExpansion (Format)
+ Title: EntrySelectedBy Element for EnumerableExpansion
+description: EntrySelectedBy Element for EnumerableExpansion
---
-# EntrySelectedBy Element for EnumerableExpansion (Format)
+# EntrySelectedBy Element for EnumerableExpansion
-Defines the .NET types that use this definition or the condition that must exist for this definition to be used.
+Defines the .NET types that use this definition or the condition that must exist for this definition
+to be used.
-Configuration Element (Format)
-DefaultSettings Element (Format)
-EnumerableExpansions Element (Format)
-EnumerableExpansion Element (Format)
-EntrySelectedBy Element for EnumerableExpansion (Format)
+## Schema
+
+- Configuration Element
+- DefaultSettings Element
+- EnumerableExpansions Element
+- EnumerableExpansion Element
+- EntrySelectedBy Element for EnumerableExpansion
## Syntax
EntrySelectedBy Element for EnumerableExpansion (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EntrySelectedBy` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EntrySelectedBy` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[SelectionCondition Element for EntrySelectedBy for EnumerableExpansion (Format)](./selectioncondition-element-for-entryselectedby-for-enumerableexpansion-format.md)|Optional element.<br /><br /> Defines the condition that must exist to expand the collection objects of this definition.|
-|[SelectionSetName Element for EntrySelectedBy for EnumerableExpansion (Format)](./selectionsetname-element-for-entryselectedby-for-enumerableexpansion-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of how collection objects are expanded.|
-|[TypeName Element for EntrySelectedBy for EnumerableExpansion (Format)](./typename-element-for-entryselectedby-for-enumerableexpansion-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of how collection objects are expanded.|
+|[SelectionCondition Element for EntrySelectedBy for EnumerableExpansion](./selectioncondition-element-for-entryselectedby-for-enumerableexpansion-format.md)|Optional element.<br /><br /> Defines the condition that must exist to expand the collection objects of this definition.|
+|[SelectionSetName Element for EntrySelectedBy for EnumerableExpansion](./selectionsetname-element-for-entryselectedby-for-enumerableexpansion-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this definition of how collection objects are expanded.|
+|[TypeName Element for EntrySelectedBy for EnumerableExpansion](./typename-element-for-entryselectedby-for-enumerableexpansion-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this definition of how collection objects are expanded.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[EnumerableExpansion Element (Format)](./enumerableexpansion-element-format.md)|Defines how specific .NET collection objects are expanded when they are displayed in a view.|
+|[EnumerableExpansion Element](./enumerableexpansion-element-format.md)|Defines how specific .NET collection objects are expanded when they are displayed in a view.|
## Remarks
-You must specify at least one type, selection set, or selection condition for a definition entry. There is no maximum limit to the number of child elements that you can use.
+You must specify at least one type, selection set, or selection condition for a definition entry.
+There is no maximum limit to the number of child elements that you can use.
-Selection conditions are used to define a condition that must exist for the definition to be used, such as when an object has a specific property or that a specific property value or script evaluates to `true`. For more information about selection conditions, see [Defining Conditions for Displaying Data](./defining-conditions-for-displaying-data.md).
+Selection conditions are used to define a condition that must exist for the definition to be used,
+such as when an object has a specific property or that a specific property value or script evaluates
+to `true`. For more information about selection conditions, see [Defining Conditions for Displaying Data](./defining-conditions-for-displaying-data.md).
## See Also [Defining Conditions for Displaying Data](./defining-conditions-for-displaying-data.md)
-[EnumerableExpansion Element (Format)](./enumerableexpansion-element-format.md)
+[EnumerableExpansion Element](./enumerableexpansion-element-format.md)
-[SelectionCondition Element for EntrySelectedBy for EnumerableExpansion (Format)](./selectioncondition-element-for-entryselectedby-for-enumerableexpansion-format.md)
+[SelectionCondition Element for EntrySelectedBy for EnumerableExpansion](./selectioncondition-element-for-entryselectedby-for-enumerableexpansion-format.md)
-[SelectionSetName Element for EntrySelectedBy for EnumerableExpansion (Format)](./selectionsetname-element-for-entryselectedby-for-enumerableexpansion-format.md)
+[SelectionSetName Element for EntrySelectedBy for EnumerableExpansion](./selectionsetname-element-for-entryselectedby-for-enumerableexpansion-format.md)
-[TypeName Element for EntrySelectedBy for EnumerableExpansion (Format)](./typename-element-for-entryselectedby-for-enumerableexpansion-format.md)
+[TypeName Element for EntrySelectedBy for EnumerableExpansion](./typename-element-for-entryselectedby-for-enumerableexpansion-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Entryselectedby Element For Listentry For Listcontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/entryselectedby-element-for-listentry-for-listcontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EntrySelectedBy Element for ListEntry for ListControl (Format)
-description: EntrySelectedBy Element for ListEntry for ListControl (Format)
+ Title: EntrySelectedBy Element for ListEntry
+description: EntrySelectedBy Element for ListEntry
---
-# EntrySelectedBy Element for ListEntry for ListControl (Format)
+# EntrySelectedBy Element for ListEntry
-Defines the .NET types that use this list view definition or the condition that must exist for this definition to be used. In most cases only one definition is needed for a list view. However, you can provide multiple definitions for the list view if you want to use the same list view to display different data for different objects.
+Defines the .NET types that use this list view definition or the condition that must exist for this
+definition to be used. In most cases only one definition is needed for a list view. However, you can
+provide multiple definitions for the list view if you want to use the same list view to display
+different data for different objects.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-ListControl Element (Format)
-ListEntries Element for ListControl (Format)
-ListEntry Element for ListEntry for ListControl (Format)
-EntrySelectedBy Element for ListEntry for ListControl (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- ListControl Element
+- ListEntries Element
+- ListEntry Element
+- EntrySelectedBy Element
## Syntax
EntrySelectedBy Element for ListEntry for ListControl (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and the parent element of the `EntrySelectedBy` element.
+The following sections describe the attributes, child elements, and the parent element of the
+`EntrySelectedBy` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[SelectionCondition Element for EntrySelectedBy for ListControl (Format)](./selectioncondition-element-for-entryselectedby-for-listcontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this list view definition to be used.|
-|[SelectionSetName Element for EntrySelectedBy for ListControl (Format)](./selectionsetname-element-for-entryselectedby-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this list view definition.|
-|[TypeName Element for EntrySelectedBy for ListControl (Format)](./typename-element-for-entryselectedby-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this list view definition.|
+|[SelectionCondition Element for EntrySelectedBy for ListControl ](./selectioncondition-element-for-entryselectedby-for-listcontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this list view definition to be used.|
+|[SelectionSetName Element for EntrySelectedBy for ListControl](./selectionsetname-element-for-entryselectedby-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this list view definition.|
+|[TypeName Element for EntrySelectedBy for ListControl](./typename-element-for-entryselectedby-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this list view definition.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ListEntry Element for ListControl (Format)](./listentry-element-for-listcontrol-format.md)|Defines how the rows of the list are displayed.|
+|[ListEntry Element for ListControl](./listentry-element-for-listcontrol-format.md)|Defines how the rows of the list are displayed.|
## Remarks
-You must specify at least one type, selection set, or selection condition for a list view definition. There is no maximum limit to the number of child elements that you can use.
+You must specify at least one type, selection set, or selection condition for a list view
+definition. There is no maximum limit to the number of child elements that you can use.
-Selection conditions are used to define a condition that must exist for the definition to be used, such as when an object has a specific property or that a specific property value or script evaluates to `true`. For more information about selection conditions, see [Defining Conditions for when Data is displayed](./defining-conditions-for-displaying-data.md).
+Selection conditions are used to define a condition that must exist for the definition to be used,
+such as when an object has a specific property or that a specific property value or script evaluates
+to `true`. For more information about selection conditions, see [Defining Conditions for when Data is displayed](./defining-conditions-for-displaying-data.md).
For more information about the components of a list view, see [Creating a List View](./creating-a-list-view.md).
The following example shows how to define the objects for a list view using thei
## See Also
-[ListEntry Element for ListControl (Format)](./listentry-element-for-listcontrol-format.md)
+[ListEntry Element for ListControl](./listentry-element-for-listcontrol-format.md)
-[SelectionCondition Element for EntrySelectedBy for ListControl (Format)](./selectioncondition-element-for-entryselectedby-for-listcontrol-format.md)
+[SelectionCondition Element for EntrySelectedBy for ListControl](./selectioncondition-element-for-entryselectedby-for-listcontrol-format.md)
-[SelectionSetName Element for EntrySelectedBy for ListControl (Format)](./selectionsetname-element-for-entryselectedby-for-listcontrol-format.md)
+[SelectionSetName Element for EntrySelectedBy for ListControl](./selectionsetname-element-for-entryselectedby-for-listcontrol-format.md)
-[TypeName Element for EntrySelectedBy for ListControl (Format)](./typename-element-for-entryselectedby-for-listcontrol-format.md)
+[TypeName Element for EntrySelectedBy for ListControl](./typename-element-for-entryselectedby-for-listcontrol-format.md)
[Creating a List View](./creating-a-list-view.md)
developer Entryselectedby Element For Tablerowentry For Tablecontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/entryselectedby-element-for-tablerowentry-for-tablecontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EntrySelectedBy Element for TableRowEntry for TableControl (Format)
-description: EntrySelectedBy Element for TableRowEntry for TableControl (Format)
+ Title: EntrySelectedBy Element for TableRowEntry
+description: EntrySelectedBy Element for TableRowEntry
---
-# EntrySelectedBy Element for TableRowEntry for TableControl (Format)
+# EntrySelectedBy Element for TableRowEntry
-Defines the .NET types that use this definition of the table view or the condition that must exist for this definition to be used.
+Defines the .NET types that use this definition of the table view or the condition that must exist
+for this definition to be used.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-TableControl Element (Format)
-TableRowEntries Element (Format)
-TableRowEntry Element (Format)
-EntrySelectedBy Element (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- TableControl Element
+- TableRowEntries Element
+- TableRowEntry Element
+- EntrySelectedBy Element
## Syntax
EntrySelectedBy Element (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EntrySelectedBy` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EntrySelectedBy` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[SelectionCondition Element for EntrySelectedBy for TableControl (Format)](./selectioncondition-element-for-entryselectedby-for-tablecontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this table view definition to be used.|
-|[SelectionSetName Element for EntrySelectedBy for TableControl (Format)](./selectionsetname-element-for-entryselectedby-for-tablecontrol-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this table view definition.|
-|[TypeName Element for EntrySelectedBy for TableControl (Format)](./typename-element-for-entryselectedby-for-tablecontrol-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this table view definition.|
+|[SelectionCondition Element for EntrySelectedBy for TableControl](./selectioncondition-element-for-entryselectedby-for-tablecontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this table view definition to be used.|
+|[SelectionSetName Element for EntrySelectedBy for TableControl](./selectionsetname-element-for-entryselectedby-for-tablecontrol-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this table view definition.|
+|[TypeName Element for EntrySelectedBy for TableControl](./typename-element-for-entryselectedby-for-tablecontrol-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this table view definition.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[TableRowEntry Element for TableControl (Format)](./tablerowentry-element-for-tablerowentries-for-tablecontrol-format.md)|Defines the data that is displayed in a row of the table.|
+|[TableRowEntry Element for TableControl](./tablerowentry-element-for-tablerowentries-for-tablecontrol-format.md)|Defines the data that is displayed in a row of the table.|
## Remarks
-You must specify at least one type, selection set, or selection condition for a table view definition. There is no maximum limit to the number of child elements that you can use.
+You must specify at least one type, selection set, or selection condition for a table view
+definition. There is no maximum limit to the number of child elements that you can use.
-Selection conditions are used to define a condition that must exist for the definition to be used, such as when an object has a specific property or that a specific property value or script evaluates to `true`. For more information about selection conditions, see [Defining Conditions for when a View Entry or Item is Used](./defining-conditions-for-displaying-data.md).
+Selection conditions are used to define a condition that must exist for the definition to be used,
+such as when an object has a specific property or that a specific property value or script evaluates
+to `true`. For more information about selection conditions, see [Defining Conditions for when a View Entry or Item is Used](./defining-conditions-for-displaying-data.md).
For more information about the components of a table view, see [Creating a Table View](./creating-a-table-view.md).
The following example shows a `TableRowEntry` element that is used to display th
[Creating a Table View](./creating-a-table-view.md)
-[SelectionCondition Element for EntrySelectedBy for TableControl (Format)](./selectioncondition-element-for-entryselectedby-for-tablecontrol-format.md)
+[SelectionCondition Element for EntrySelectedBy for TableControl](./selectioncondition-element-for-entryselectedby-for-tablecontrol-format.md)
-[SelectionSetName Element for EntrySelectedBy for TableControl (Format)](./selectionsetname-element-for-entryselectedby-for-tablecontrol-format.md)
+[SelectionSetName Element for EntrySelectedBy for TableControl](./selectionsetname-element-for-entryselectedby-for-tablecontrol-format.md)
-[TableRowEntry Element for TableControl (Format)](./tablerowentry-element-for-tablerowentries-for-tablecontrol-format.md)
+[TableRowEntry Element for TableControl](./tablerowentry-element-for-tablerowentries-for-tablecontrol-format.md)
-[TypeName Element for EntrySelectedBy for TableControl (Format)](./typename-element-for-entryselectedby-for-tablecontrol-format.md)
+[TypeName Element for EntrySelectedBy for TableControl](./typename-element-for-entryselectedby-for-tablecontrol-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Entryselectedby Element For Wideentry Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/entryselectedby-element-for-wideentry-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EntrySelectedBy Element for WideEntry (Format)
-description: EntrySelectedBy Element for WideEntry (Format)
+ Title: EntrySelectedBy Element for WideEntry
+description: EntrySelectedBy Element for WideEntry
---
-# EntrySelectedBy Element for WideEntry (Format)
+# EntrySelectedBy Element for WideEntry
-Defines the .NET types that use this definition of the wide view or the condition that must exist for this definition to be used.
+Defines the .NET types that use this definition of the wide view or the condition that must exist
+for this definition to be used.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-WideControl Element (Format)
-WideEntries Element (Format)
-WideEntry Element (Format)
-EntrySelectedBy Element for WideEntry (Format)
+## Schema
+
+Configuration Element
+ViewDefinitions Element
+View Element
+WideControl Element
+WideEntries Element
+WideEntry Element
+EntrySelectedBy Element
## Syntax
EntrySelectedBy Element for WideEntry (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EntrySelectedBy` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EntrySelectedBy` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[SelectionCondition Element for EntrySelectedBy for WideEntry (Format)](./selectioncondition-element-for-entryselectedby-for-widecontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this wide view definition to be used.|
-|[SelectionSetName Element for EntrySelectedBy for WideEntry (Format)](./selectionsetname-element-for-entryselectedby-for-widecontrol-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this wide view definition.|
-|[TypeName Element for EntrySelectedBy for WideEntry (Format)](./typename-element-for-entryselectedby-for-wideentry-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this wide view definition.|
+|[SelectionCondition Element for EntrySelectedBy for WideEntry](./selectioncondition-element-for-entryselectedby-for-widecontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this wide view definition to be used.|
+|[SelectionSetName Element for EntrySelectedBy for WideEntry](./selectionsetname-element-for-entryselectedby-for-widecontrol-format.md)|Optional element.<br /><br /> Specifies a set of .NET types that use this wide view definition.|
+|[TypeName Element for EntrySelectedBy for WideEntry](./typename-element-for-entryselectedby-for-wideentry-format.md)|Optional element.<br /><br /> Specifies a .NET type that uses this wide view definition.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[WideEntry Element (Format)](./wideentry-element-for-widecontrol-format.md)|Provides a definition of the wide view.|
+|[WideEntry Element](./wideentry-element-for-widecontrol-format.md)|Provides a definition of the wide view.|
## Remarks
-You must specify at least one type, selection set, or selection condition for a wide view definition. There is no maximum limit to the number of child elements that you can use.
+You must specify at least one type, selection set, or selection condition for a wide view
+definition. There is no maximum limit to the number of child elements that you can use.
-Selection conditions are used to define a condition that must exist for the definition to be used, such as when an object has a specific property or that a specific property value or script value evaluates to `true`. For more information about selection conditions, see [Defining Conditions for Displaying Data](./defining-conditions-for-displaying-data.md).
+Selection conditions are used to define a condition that must exist for the definition to be used,
+such as when an object has a specific property or that a specific property value or script value
+evaluates to `true`. For more information about selection conditions, see [Defining Conditions for Displaying Data](./defining-conditions-for-displaying-data.md).
For more information about other components of a wide view, see [Creating a Wide View](./creating-a-wide-view.md). ## See Also
-[WideEntry Element (Format)](./wideentry-element-for-widecontrol-format.md)
+[WideEntry Element](./wideentry-element-for-widecontrol-format.md)
-[SelectionCondition Element for EntrySelectedBy for WideEntry (Format)](./selectioncondition-element-for-entryselectedby-for-widecontrol-format.md)
+[SelectionCondition Element for EntrySelectedBy for WideEntry](./selectioncondition-element-for-entryselectedby-for-widecontrol-format.md)
-[SelectionSetName Element for EntrySelectedBy for WideEntry (Format)](./selectionsetname-element-for-entryselectedby-for-widecontrol-format.md)
+[SelectionSetName Element for EntrySelectedBy for WideEntry](./selectionsetname-element-for-entryselectedby-for-widecontrol-format.md)
-[TypeName Element for EntrySelectedBy for WideEntry (Format)](./typename-element-for-entryselectedby-for-wideentry-format.md)
+[TypeName Element for EntrySelectedBy for WideEntry](./typename-element-for-entryselectedby-for-wideentry-format.md)
[Creating a Wide View](./creating-a-wide-view.md)
developer Enumerableexpansion Element Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/enumerableexpansion-element-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EnumerableExpansion Element (Format)
-description: EnumerableExpansion Element (Format)
+ Title: EnumerableExpansion Element
+description: EnumerableExpansion Element
---
-# EnumerableExpansion Element (Format)
+# EnumerableExpansion Element
Defines how specific .NET collection objects are expanded when they are displayed in a view.
-Configuration Element (Format)
-DefaultSettings Element (Format)
-EnumerableExpansions Element (Format)
-EnumerableExpansion Element (Format)
+## Schema
+
+- Configuration Element
+- DefaultSettings Element
+- EnumerableExpansions Element
+- EnumerableExpansion Element
## Syntax
EnumerableExpansion Element (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EnumerableExpansion` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EnumerableExpansion` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[EntrySelectedBy Element for EnumerableExpansion (Format)](./entryselectedby-element-for-enumerableexpansion-format.md)|Optional element.<br /><br /> Defines which .NET collection objects are expanded by this definition.|
-|[Expand Element (Format)](./expand-element-format.md)|Specifies how the collection object is expanded for this definition.|
+|[EntrySelectedBy Element for EnumerableExpansion](./entryselectedby-element-for-enumerableexpansion-format.md)|Optional element.<br /><br /> Defines which .NET collection objects are expanded by this definition.|
+|[Expand Element](./expand-element-format.md)|Specifies how the collection object is expanded for this definition.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[EnumerableExpansions Element (Format)](./enumerableexpansions-element-format.md)|Defines the different ways that .NET collection objects are expanded when they are displayed in a view.|
+|[EnumerableExpansions Element](./enumerableexpansions-element-format.md)|Defines the different ways that .NET collection objects are expanded when they are displayed in a view.|
## Remarks
-This element is used to define how collection objects and the objects in the collection are displayed. In this case, a collection object refers to any object that supports the **System.Collections.ICollection** interface.
+This element is used to define how collection objects and the objects in the collection are
+displayed. In this case, a collection object refers to any object that supports the
+**System.Collections.ICollection** interface.
The default behavior is to display only the properties of the objects in the collection.
developer Enumerableexpansions Element Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/enumerableexpansions-element-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EnumerableExpansions Element (Format)
-description: EnumerableExpansions Element (Format)
+ Title: EnumerableExpansions Element
+description: EnumerableExpansions Element
---
-# EnumerableExpansions Element (Format)
+# EnumerableExpansions Element
Defines how .NET collection objects are expanded when they are displayed in a view.
-Configuration Element (Format)
-DefaultSettings Element (Format)
-EnumerableExpansions Element (Format)
+## Schema
+
+- Configuration Element
+- DefaultSettings Element
+- EnumerableExpansions Element
## Syntax
EnumerableExpansions Element (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EnumerableExpansions` element. There is no limit to the number of child elements that you can use.
+The following sections describe attributes, child elements, and the parent element of the
+`EnumerableExpansions` element. There is no limit to the number of child elements that you can use.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[EnumerableExpansion Element (Format)](./enumerableexpansion-element-format.md)|Optional element.<br /><br /> Defines the specific .NET collection objects that are expanded when they are displayed in a view.|
+|[EnumerableExpansion Element](./enumerableexpansion-element-format.md)|Optional element.<br /><br /> Defines the specific .NET collection objects that are expanded when they are displayed in a view.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[DefaultSettings Element (Format)](./defaultsettings-element-format.md)|Defines common settings that apply to all the views of the formatting file.|
+|[DefaultSettings Element](./defaultsettings-element-format.md)|Defines common settings that apply to all the views of the formatting file.|
## Remarks
-This element is used to define how collection objects and the objects in the collection are displayed. In this case, a collection object refers to any object that supports the **System.Collections.ICollection** interface.
+This element is used to define how collection objects and the objects in the collection are
+displayed. In this case, a collection object refers to any object that supports the
+**System.Collections.ICollection** interface.
## See Also
developer Enumeratecollection Element For Expressionbinding For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/enumeratecollection-element-for-expressionbinding-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EnumerateCollection Element for ExpressionBinding for Controls for Configuration (Format)
-description: EnumerateCollection Element for ExpressionBinding for Controls for Configuration (Format)
+ Title: EnumerateCollection Element for ExpressionBinding for Controls for Configuration
+description: EnumerateCollection Element for ExpressionBinding for Controls for Configuration
---
-# EnumerateCollection Element for ExpressionBinding for Controls for Configuration (Format)
+# EnumerateCollection Element for ExpressionBinding for Controls for Configuration
-Specified that the elements of collections are displayed by the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specified that the elements of collections are displayed by the control. This element is used when
+defining a common control that can be used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-CustomControl Element for Control for Configuration (Format)
-CustomEntries Element for CustomControl for Configuration (Format)
-CustomEntry Element for CustomControl for Controls for Configuration (Format)
-CustomItem Element for CustomEntry for Controls for Configuration
-ExpressionBinding Element for CustomItem for Controls for Configuration (Format)
-EnumerateCollection Element for ExpressionBinding for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
+- EnumerateCollection Element
## Syntax
EnumerateCollection Element for ExpressionBinding for Controls for Configuration
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EnumerateCollection` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EnumerateCollection` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[ExpressionBinding Element for CustomItem for Controls for Configuration (Format)](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)|Defines the data that is displayed by the control.|
+|[ExpressionBinding Element for CustomItem for Controls for Configuration](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)|Defines the data that is displayed by the control.|
## Remarks ## See Also
-[ExpressionBinding Element for CustomItem for Controls for Configuration (Format)](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
+[ExpressionBinding Element for CustomItem for Controls for Configuration](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Enumeratecollection Element For Expressionbinding For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/enumeratecollection-element-for-expressionbinding-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EnumerateCollection Element for ExpressionBinding for Controls for View (Format)
-description: EnumerateCollection Element for ExpressionBinding for Controls for View (Format)
+ Title: EnumerateCollection Element for ExpressionBinding for Controls for View
+description: EnumerateCollection Element for ExpressionBinding for Controls for View
---
-# EnumerateCollection Element for ExpressionBinding for Controls for View (Format)
-
-Specified that the elements of collections are displayed. This element is used when defining controls that can be used by a view.
-
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-CustomControl Element for Control for Controls for View (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for Controls for View (Format)
-CustomItem Element for CustomEntry for Controls for View (Format)
-ExpressionBinding Element for CustomItem for Controls for View (Format)
-EnumerateCollection Element for ExpressionBinding for Controls for View (Format)
+# EnumerateCollection Element for ExpressionBinding for Controls for View
+
+Specified that the elements of collections are displayed. This element is used when defining
+controls that can be used by a view.
+
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
+- EnumerateCollection Element
## Syntax
EnumerateCollection Element for ExpressionBinding for Controls for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EnumerateCollection` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EnumerateCollection` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[ExpressionBinding Element for CustomItem for Controls for View (Format)](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)|Defines the data that is displayed by the control.|
+|[ExpressionBinding Element for CustomItem for Controls for View](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)|Defines the data that is displayed by the control.|
## Remarks ## See Also
-[ExpressionBinding Element for CustomItem for Controls for View (Format)](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
+[ExpressionBinding Element for CustomItem for Controls for View](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Enumeratecollection Element For Expressionbinding For Customcontrol For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/enumeratecollection-element-for-expressionbinding-for-customcontrol-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EnumerateCollection Element for ExpressionBinding for CustomControl for View (Format)
-description: EnumerateCollection Element for ExpressionBinding for CustomControl for View (Format)
+ Title: EnumerateCollection Element for ExpressionBinding for CustomControl for View
+description: EnumerateCollection Element for ExpressionBinding for CustomControl for View
---
-# EnumerateCollection Element for ExpressionBinding for CustomControl for View (Format)
+# EnumerateCollection Element for ExpressionBinding for CustomControl for View
-Specifies that the elements of collections are displayed. This element is used when defining a custom control view.
+Specifies that the elements of collections are displayed. This element is used when defining a
+custom control view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-CustomControl Element (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for View (Format)
-CustomItem Element for CustomEntry for View (Format)
-ExpressionBinding Element for CustomItem for CustomControl for View (Format)
-EnumerateCollection Element for Expression Binding for CustomControl for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
+- EnumerateCollection Element
## Syntax
EnumerateCollection Element for Expression Binding for CustomControl for View (F
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EnumerateCollection` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EnumerateCollection` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[ExpressionBinding Element for CustomItem (Format)](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)|Defines the data that is displayed by the control.|
+|[ExpressionBinding Element for CustomItem](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)|Defines the data that is displayed by the control.|
## Remarks ## See Also
-[ExpressionBinding Element for CustomItem (Format)](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
+[ExpressionBinding Element for CustomItem](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Enumeratecollection Element For Expressionbinding For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/enumeratecollection-element-for-expressionbinding-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: EnumerateCollection Element for ExpressionBinding for GroupBy (Format)
-description: EnumerateCollection Element for ExpressionBinding for GroupBy (Format)
+ Title: EnumerateCollection Element for ExpressionBinding for GroupBy
+description: EnumerateCollection Element for ExpressionBinding for GroupBy
---
-# EnumerateCollection Element for ExpressionBinding for GroupBy (Format)
+# EnumerateCollection Element for ExpressionBinding for GroupBy
-Specifies that the elements of collections are displayed. This element is used when defining how a new group of objects is displayed.
+Specifies that the elements of collections are displayed. This element is used when defining how a
+new group of objects is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-CustomControl Element for GroupBy (Format)
-CustomEntries Element for CustomControl for GroupBy (Format)
-CustomEntry Element for CustomControl for GroupBy (Format)
-CustomItem Element for CustomEntry for GroupBy (Format)
-ExpressionBinding Element for CustomItem for GroupBy (Format)
-EnumerateCollection Element for ExpressionBinding for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
+- EnumerateCollection Element
## Syntax
EnumerateCollection Element for ExpressionBinding for GroupBy (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `EnumerateCollection` element.
+The following sections describe attributes, child elements, and the parent element of the
+`EnumerateCollection` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[ExpressionBinding Element for CustomItem for GroupBy (Format)](./expressionbinding-element-for-customitem-for-groupby-format.md)|Defines the data that is displayed by the control.|
+|[ExpressionBinding Element for CustomItem for GroupBy](./expressionbinding-element-for-customitem-for-groupby-format.md)|Defines the data that is displayed by the control.|
## Remarks ## See Also
-[ExpressionBinding Element for CustomItem for GroupBy (Format)](./expressionbinding-element-for-customitem-for-groupby-format.md)
+[ExpressionBinding Element for CustomItem for GroupBy](./expressionbinding-element-for-customitem-for-groupby-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Expand Element Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/expand-element-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Expand Element (Format)
-description: Expand Element (Format)
+ Title: Expand Element
+description: Expand Element
---
-# Expand Element (Format)
+# Expand Element
Specifies how the collection object is expanded for this definition.
-Configuration Element (Format)
-DefaultSettings Element (Format)
-EnumerableExpansions Element (Format)
-EnumerableExpansion Element (Format)
-Expand Element (Format)
+## Schema
+
+- Configuration Element
+- DefaultSettings Element
+- EnumerableExpansions Element
+- EnumerableExpansion Element
+- Expand Element
## Syntax
Expand Element (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `Expand` element.
+The following sections describe attributes, child elements, and the parent element of the `Expand`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[EnumerableExpansion Element (Format)](./enumerableexpansion-element-format.md)|Defines how specific .NET collection objects are expanded when they are displayed in a view.|
+|[EnumerableExpansion Element](./enumerableexpansion-element-format.md)|Defines how specific .NET collection objects are expanded when they are displayed in a view.|
## Text Value
Specify one of the following values:
- CoreOnly: Displays only the properties of the collection object. -- Both: Displays the properties of the objects in the collection and the properties of the collection object.
+- Both: Displays the properties of the objects in the collection and the properties of the
+ collection object.
## Remarks
-This element is used to define how collection objects and the objects in the collection are displayed. In this case, a collection object refers to any object that supports the **System.Collections.ICollection** interface.
+This element is used to define how collection objects and the objects in the collection are
+displayed. In this case, a collection object refers to any object that supports the
+**System.Collections.ICollection** interface.
The default behavior is to display only the properties of the objects in the collection.
developer Expressionbinding Element For Customitem For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/expressionbinding-element-for-customitem-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ExpressionBinding Element for CustomItem for Controls for Configuration (Format)
-description: ExpressionBinding Element for CustomItem for Controls for Configuration (Format)
+ Title: ExpressionBinding Element for CustomItem for Controls for Configuration
+description: ExpressionBinding Element for CustomItem for Controls for Configuration
---
-# ExpressionBinding Element for CustomItem for Controls for Configuration (Format)
+# ExpressionBinding Element for CustomItem for Controls for Configuration
-Defines the data that is displayed by the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines the data that is displayed by the control. This element is used when defining a common
+control that can be used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-CustomControl Element for Control for Configuration (Format)
-CustomEntries Element for CustomControl for Configuration (Format)
-CustomEntry Element for CustomControl for Controls for Configuration (Format)
-CustomItem Element for CustomEntry for Controls for Configuration
-ExpressionBinding Element for CustomItem for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
## Syntax
ExpressionBinding Element for CustomItem for Controls for Configuration (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `ExpressionBinding` element.
+The following sections describe attributes, child elements, and the parent element of the
+`ExpressionBinding` element.
### Attributes
None.
|Element|Description| |-------------|-----------------| |`CustomControl Element`|Optional element.<br /><br /> Defines a control that is used by this control.|
-|[CustomControlName Element for ExpressionBinding for Controls for Configuration (Format)](./customcontrolname-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the name of a common control or a view control.|
-|[EnumerateCollection Element for ExpressionBinding for Controls for Configuration (Format)](./enumeratecollection-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specified that the elements of collections are displayed by the control.|
-|[ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration (Format)](./itemselectioncondition-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this common control to be used.|
-|[PropertyName Element for ExpressionBinding for Controls for Configuration (Format)](./propertyname-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed by the common control.|
-|[ScriptBlock Element for ExpressionBinding for Controls for Configuration (Format)](./scriptblock-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed by the common control.|
+|[CustomControlName Element for ExpressionBinding for Controls for Configuration](./customcontrolname-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the name of a common control or a view control.|
+|[EnumerateCollection Element for ExpressionBinding for Controls for Configuration](./enumeratecollection-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specified that the elements of collections are displayed by the control.|
+|[ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration](./itemselectioncondition-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this common control to be used.|
+|[PropertyName Element for ExpressionBinding for Controls for Configuration](./propertyname-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed by the common control.|
+|[ScriptBlock Element for ExpressionBinding for Controls for Configuration](./scriptblock-element-for-expressionbinding-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed by the common control.|
### Parent Elements
developer Expressionbinding Element For Customitem For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/expressionbinding-element-for-customitem-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ExpressionBinding Element for CustomItem for Controls for View (Format)
-description: ExpressionBinding Element for CustomItem for Controls for View (Format)
+ Title: ExpressionBinding Element for CustomItem for Controls for View
+description: ExpressionBinding Element for CustomItem for Controls for View
---
-# ExpressionBinding Element for CustomItem for Controls for View (Format)
+# ExpressionBinding Element for CustomItem for Controls for View
-Defines the data that is displayed by the control. This element is used when defining controls that can be used by a view.
+Defines the data that is displayed by the control. This element is used when defining controls that
+can be used by a view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-CustomControl Element for Control for Controls for View (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for Controls for View (Format)
-CustomItem Element for CustomEntry for Controls for View (Format)
-ExpressionBinding Element for CustomItem for Controls for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
## Syntax
ExpressionBinding Element for CustomItem for Controls for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `ExpressionBinding` element.
+The following sections describe attributes, child elements, and the parent element of the
+`ExpressionBinding` element.
### Attributes
None.
|Element|Description| |-------------|-----------------| |`CustomControl Element`|Optional element.<br /><br /> Defines a control that is used by this control.|
-|[CustomControlName Element for ExpressionBinding for Controls for View (Format)](./customcontrolname-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the name of a common control or a view control.|
-|[EnumerateCollection Element for ExpressionBinding for Controls for View (Format)](./enumeratecollection-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies that the elements of collections are displayed.|
-|[ItemSelectionCondition Element of ExpressionBinding for Controls for View (Format)](./itemselectioncondition-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this control to be used.|
-|[PropertyName Element for ExpressionBinding for Controls for View (Format)](./propertyname-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed by the control.|
-|[ScriptBlock Element for ExpressionBinding for Controls for View (Format)](./scriptblock-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed by the control.|
+|[CustomControlName Element for ExpressionBinding for Controls for View](./customcontrolname-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the name of a common control or a view control.|
+|[EnumerateCollection Element for ExpressionBinding for Controls for View](./enumeratecollection-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies that the elements of collections are displayed.|
+|[ItemSelectionCondition Element of ExpressionBinding for Controls for View](./itemselectioncondition-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this control to be used.|
+|[PropertyName Element for ExpressionBinding for Controls for View](./propertyname-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed by the control.|
+|[ScriptBlock Element for ExpressionBinding for Controls for View](./scriptblock-element-for-expressionbinding-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed by the control.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[CustomItem Element for CustomEntry for Controls for View (Format)](./customitem-element-for-customentry-for-controls-for-view-format.md)|Defines what data is displayed by the control and how it is displayed.|
+|[CustomItem Element for CustomEntry for Controls for View](./customitem-element-for-customentry-for-controls-for-view-format.md)|Defines what data is displayed by the control and how it is displayed.|
## Remarks ## See Also
-[CustomItem Element for CustomEntry for Controls for View (Format)](./customitem-element-for-customentry-for-controls-for-view-format.md)
+[CustomItem Element for CustomEntry for Controls for View](./customitem-element-for-customentry-for-controls-for-view-format.md)
-[CustomControlName Element for ExpressionBinding for Controls for View (Format)](./customcontrolname-element-for-expressionbinding-for-controls-for-view-format.md)
+[CustomControlName Element for ExpressionBinding for Controls for View](./customcontrolname-element-for-expressionbinding-for-controls-for-view-format.md)
-[EnumerateCollection Element for ExpressionBinding for Controls for View (Format)](./enumeratecollection-element-for-expressionbinding-for-controls-for-view-format.md)
+[EnumerateCollection Element for ExpressionBinding for Controls for View](./enumeratecollection-element-for-expressionbinding-for-controls-for-view-format.md)
-[ItemSelectionCondition Element of ExpressionBinding for Controls for View (Format)](./itemselectioncondition-element-for-expressionbinding-for-controls-for-view-format.md)
+[ItemSelectionCondition Element of ExpressionBinding for Controls for View](./itemselectioncondition-element-for-expressionbinding-for-controls-for-view-format.md)
-[PropertyName Element for ExpressionBinding for Controls for View (Format)](./propertyname-element-for-expressionbinding-for-controls-for-view-format.md)
+[PropertyName Element for ExpressionBinding for Controls for View](./propertyname-element-for-expressionbinding-for-controls-for-view-format.md)
-[ScriptBlock Element for ExpressionBinding for Controls for View (Format)](./scriptblock-element-for-expressionbinding-for-controls-for-view-format.md)
+[ScriptBlock Element for ExpressionBinding for Controls for View](./scriptblock-element-for-expressionbinding-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Expressionbinding Element For Customitem For Customcontrol For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/expressionbinding-element-for-customitem-for-customcontrol-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ExpressionBinding Element for CustomItem for CustomControl for View (Format)
-description: ExpressionBinding Element for CustomItem for CustomControl for View (Format)
+ Title: ExpressionBinding Element for CustomItem for CustomControl for View
+description: ExpressionBinding Element for CustomItem for CustomControl for View
---
-# ExpressionBinding Element for CustomItem for CustomControl for View (Format)
+# ExpressionBinding Element for CustomItem for CustomControl for View
-Defines the data that is displayed by the control. This element is used when defining a custom control view.
+Defines the data that is displayed by the control. This element is used when defining a custom
+control view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-CustomControl Element for View (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for CustomControl for View (Format)
-CustomItem Element for CustomEntry for CustomControl for View (Format)
-ExpressionBinding Element for CustomItem for CustomControl for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
## Syntax
ExpressionBinding Element for CustomItem for CustomControl for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `ExpressionBinding` element.
+The following sections describe attributes, child elements, and the parent element of the
+`ExpressionBinding` element.
### Attributes
None.
|Element|Description| |-------------|-----------------| |`CustomControl Element`|Optional element.<br /><br /> Defines a control that is used by this control.|
-|[CustomControlName Element for ExpressionBinding for CustomControl for View (Format)](./customcontrolname-element-for-expressionbinding-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies the name of a common control or a view control.|
-|[EnumerateCollection Element for ExpressionBinding for CustomControl for View (Format)](./enumeratecollection-element-for-expressionbinding-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specified that the elements of collections are displayed.|
-|[ItemSelectionCondition Element for ExpressionBinding for CustomControl for View (Format)](./itemselectioncondition-element-for-expressionbinding-for-customcontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this control to be used.|
-|[PropertyName Element for ExpressionBinding for CustomControl for View (Format)](./propertyname-element-for-expressionbinding-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed by the control.|
-|[ScriptBlock Element for ExpressionBinding for CustomCustomControl for View (Format)](./scriptblock-element-for-expressionbinding-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed by the control.|
+|[CustomControlName Element for ExpressionBinding for CustomControl for View](./customcontrolname-element-for-expressionbinding-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies the name of a common control or a view control.|
+|[EnumerateCollection Element for ExpressionBinding for CustomControl for View](./enumeratecollection-element-for-expressionbinding-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specified that the elements of collections are displayed.|
+|[ItemSelectionCondition Element for ExpressionBinding for CustomControl for View](./itemselectioncondition-element-for-expressionbinding-for-customcontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this control to be used.|
+|[PropertyName Element for ExpressionBinding for CustomControl for View](./propertyname-element-for-expressionbinding-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed by the control.|
+|[ScriptBlock Element for ExpressionBinding for CustomCustomControl for View](./scriptblock-element-for-expressionbinding-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed by the control.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[CustomItem Element for CustomEntry for CustomControl for View (Format)](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)|Defines what data is displayed by the custom control view and how it is displayed.|
+|[CustomItem Element for CustomEntry for CustomControl for View](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)|Defines what data is displayed by the custom control view and how it is displayed.|
## Remarks ## See Also
-[CustomControlName Element for ExpressionBinding for CustomControl for View (Format)](./customcontrolname-element-for-expressionbinding-for-customcontrol-for-view-format.md)
+[CustomControlName Element for ExpressionBinding for CustomControl for View](./customcontrolname-element-for-expressionbinding-for-customcontrol-for-view-format.md)
-[EnumerateCollection Element for ExpressionBinding for CustomControl for View (Format)](./enumeratecollection-element-for-expressionbinding-for-customcontrol-for-view-format.md)
+[EnumerateCollection Element for ExpressionBinding for CustomControl for View](./enumeratecollection-element-for-expressionbinding-for-customcontrol-for-view-format.md)
-[ItemSelectionCondition Element for ExpressionBinding for CustomControl for View (Format)](./itemselectioncondition-element-for-expressionbinding-for-customcontrol-format.md)
+[ItemSelectionCondition Element for ExpressionBinding for CustomControl for View](./itemselectioncondition-element-for-expressionbinding-for-customcontrol-format.md)
-[PropertyName Element for ExpressionBinding for CustomControl for View (Format)](./propertyname-element-for-expressionbinding-for-customcontrol-for-view-format.md)
+[PropertyName Element for ExpressionBinding for CustomControl for View](./propertyname-element-for-expressionbinding-for-customcontrol-for-view-format.md)
-[ScriptBlock Element for ExpressionBinding for CustomControl for View (Format)](./scriptblock-element-for-expressionbinding-for-customcontrol-for-view-format.md)
+[ScriptBlock Element for ExpressionBinding for CustomControl for View](./scriptblock-element-for-expressionbinding-for-customcontrol-for-view-format.md)
-[CustomItem Element for CustomEntry for CustomControl for View (Format)](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)
+[CustomItem Element for CustomEntry for CustomControl for View](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Expressionbinding Element For Customitem For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/expressionbinding-element-for-customitem-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ExpressionBinding Element for CustomItem for GroupBy (Format)
-description: ExpressionBinding Element for CustomItem for GroupBy (Format)
+ Title: ExpressionBinding Element for CustomItem for GroupBy
+description: ExpressionBinding Element for CustomItem for GroupBy
---
-# ExpressionBinding Element for CustomItem for GroupBy (Format)
+# ExpressionBinding Element for CustomItem for GroupBy
-Defines the data that is displayed by the control. This element is used when defining how a new group of objects is displayed.
+Defines the data that is displayed by the control. This element is used when defining how a new
+group of objects is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-CustomControl Element for GroupBy (Format)
-CustomEntries Element for CustomControl for GroupBy (Format)
-CustomEntry Element for CustomControl for GroupBy (Format)
-CustomItem Element for CustomEntry for GroupBy (Format)
-ExpressionBinding Element for CustomItem for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
## Syntax
ExpressionBinding Element for CustomItem for GroupBy (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `ExpressionBinding` element.
+The following sections describe attributes, child elements, and the parent element of the
+`ExpressionBinding` element.
### Attributes
None.
|Element|Description| |-------------|-----------------| |`CustomControl Element`|Optional element.<br /><br /> Defines a control that is used by this control.|
-|[CustomControlName Element for ExpressionBinding for GroupBy (Format)](./customcontrolname-element-for-expressionbinding-for-groupby-format.md)|Optional element.<br /><br /> Specifies the name of a common control or a view control.|
-|[EnumerateCollection Element for ExpressionBinding for GroupBy (Format)](./enumeratecollection-element-for-expressionbinding-for-groupby-format.md)EnumerateCollection Element for ExpressionBinding for GroupBy (Format)|Optional element.<br /><br /> Specified that the elements of collections are displayed.|
-|[ItemSelectionCondition Element for ExpressionBinding for GroupBy (Format)](./itemselectioncondition-element-for-expressionbinding-for-groupby-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this control to be used.|
-|[PropertyName Element for ExpressionBinding for GroupBy (Format)](./propertyname-element-for-expressionbinding-for-groupby-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed by the control.|
-|[ScriptBlock Element for ExpressionBinding for GroupBy (Format)](./scriptblock-element-for-expressionbinding-for-groupby-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed by the control.|
+|[CustomControlName Element for ExpressionBinding for GroupBy](./customcontrolname-element-for-expressionbinding-for-groupby-format.md)|Optional element.<br /><br /> Specifies the name of a common control or a view control.|
+|[EnumerateCollection Element for ExpressionBinding for GroupBy](./enumeratecollection-element-for-expressionbinding-for-groupby-format.md)EnumerateCollection Element for ExpressionBinding for GroupBy|Optional element.<br /><br /> Specified that the elements of collections are displayed.|
+|[ItemSelectionCondition Element for ExpressionBinding for GroupBy](./itemselectioncondition-element-for-expressionbinding-for-groupby-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this control to be used.|
+|[PropertyName Element for ExpressionBinding for GroupBy](./propertyname-element-for-expressionbinding-for-groupby-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed by the control.|
+|[ScriptBlock Element for ExpressionBinding for GroupBy](./scriptblock-element-for-expressionbinding-for-groupby-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed by the control.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[CustomItem Element for CustomEntry for GroupBy (Format)](./customitem-element-for-customentry-for-groupby-format.md)|Defines what data is displayed by the custom control view and how it is displayed.|
+|[CustomItem Element for CustomEntry for GroupBy](./customitem-element-for-customentry-for-groupby-format.md)|Defines what data is displayed by the custom control view and how it is displayed.|
## See Also
-[CustomControlName Element for ExpressionBinding for GroupBy (Format)](./customcontrolname-element-for-expressionbinding-for-groupby-format.md)
+[CustomControlName Element for ExpressionBinding for GroupBy](./customcontrolname-element-for-expressionbinding-for-groupby-format.md)
-[EnumerateCollection Element for ExpressionBinding for GroupBy (Format)](./enumeratecollection-element-for-expressionbinding-for-groupby-format.md)
+[EnumerateCollection Element for ExpressionBinding for GroupBy](./enumeratecollection-element-for-expressionbinding-for-groupby-format.md)
-[ItemSelectionCondition Element for ExpressionBinding for GroupBy (Format)](./itemselectioncondition-element-for-expressionbinding-for-groupby-format.md)
+[ItemSelectionCondition Element for ExpressionBinding for GroupBy](./itemselectioncondition-element-for-expressionbinding-for-groupby-format.md)
-[PropertyName Element for ExpressionBinding for GroupBy (Format)](./propertyname-element-for-expressionbinding-for-groupby-format.md)
+[PropertyName Element for ExpressionBinding for GroupBy](./propertyname-element-for-expressionbinding-for-groupby-format.md)
-[ScriptBlock Element for ExpressionBinding for GroupBy (Format)](./scriptblock-element-for-expressionbinding-for-groupby-format.md)
+[ScriptBlock Element for ExpressionBinding for GroupBy](./scriptblock-element-for-expressionbinding-for-groupby-format.md)
-[CustomItem Element for CustomEntry for GroupBy (Format)](./customitem-element-for-customentry-for-groupby-format.md)
+[CustomItem Element for CustomEntry for GroupBy](./customitem-element-for-customentry-for-groupby-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Firstlinehanging Element For Frame For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/firstlinehanging-element-for-frame-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FirstLineHanging Element for Frame for Controls for Configuration (Format)
-description: FirstLineHanging Element for Frame for Controls for Configuration (Format)
+ Title: FirstLineHanging Element for Frame for Controls for Configuration
+description: FirstLineHanging Element for Frame for Controls for Configuration
---
-# FirstLineHanging Element for Frame for Controls for Configuration (Format)
+# FirstLineHanging Element for Frame for Controls for Configuration
-Specifies how many characters the first line of data is shifted to the left. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies how many characters the first line of data is shifted to the left. This element is used
+when defining a common control that can be used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-CustomControl Element for Control for Configuration (Format)
-CustomEntries Element for CustomControl for Configuration (Format)
-CustomEntry Element for CustomControl for Controls for Configuration (Format)
-CustomItem Element for CustomEntry for Controls for Configuration
-Frame Element for CustomItem for Controls for Configuration (Format)
-FirstLineHanging Element for Frame for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- FirstLineHanging Element
## Syntax
FirstLineHanging Element for Frame for Controls for Configuration (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `FirstLineHanging` element.
+The following sections describe attributes, child elements, and parent element of the
+`FirstLineHanging` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for Controls for Configuration (Format)](./frame-element-for-customitem-for-controls-for-configuration-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for Controls for Configuration](./frame-element-for-customitem-for-controls-for-configuration-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
If this element is specified, you cannot specify the `FirstLineIndent` element.
## See Also
-[Frame Element for CustomItem for Controls for Configuration (Format)](./frame-element-for-customitem-for-controls-for-configuration-format.md)
+[Frame Element for CustomItem for Controls for Configuration](./frame-element-for-customitem-for-controls-for-configuration-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Firstlinehanging Element For Frame For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/firstlinehanging-element-for-frame-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FirstLineHanging Element for Frame for Controls for View (Format)
-description: FirstLineHanging Element for Frame for Controls for View (Format)
+ Title: FirstLineHanging Element for Frame for Controls for View
+description: FirstLineHanging Element for Frame for Controls for View
---
-# FirstLineHanging Element for Frame for Controls for View (Format)
-
-Specifies how many characters the first line of data is shifted to the left. This element is used when defining controls that can be used by a view.
-
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-CustomControl Element for Control for Controls for View (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for Controls for View (Format)
-CustomItem Element for CustomEntry for Controls for View (Format)
-Frame Element for CustomItem for Controls for View (Format)
-FirstLineHanging Element of Frame of Controls of View (Format)
+# FirstLineHanging Element for Frame for Controls for View
+
+Specifies how many characters the first line of data is shifted to the left. This element is used
+when defining controls that can be used by a view.
+
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- FirstLineHanging Element
## Syntax
FirstLineHanging Element of Frame of Controls of View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `FirstLineHanging` element.
+The following sections describe attributes, child elements, and parent element of the
+`FirstLineHanging` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for Controls for View (Format)](./frame-element-for-customitem-for-controls-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for Controls for View](./frame-element-for-customitem-for-controls-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
If this element is specified, you cannot specify the [FirstLineIndent](./firstli
## See Also
-[FirstLineIndent Element for Frame for Controls for View (Format)](./firstlineindent-element-for-frame-for-controls-for-view-format.md)
+[FirstLineIndent Element for Frame for Controls for View](./firstlineindent-element-for-frame-for-controls-for-view-format.md)
-[Frame Element for CustomItem for Controls for View (Format)](./frame-element-for-customitem-for-controls-for-view-format.md)
+[Frame Element for CustomItem for Controls for View](./frame-element-for-customitem-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Firstlinehanging Element For Frame For Customcontrol For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/firstlinehanging-element-for-frame-for-customcontrol-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FirstLineHanging Element for Frame for CustomControl for View (Format)
-description: FirstLineHanging Element for Frame for CustomControl for View (Format)
+ Title: FirstLineHanging Element for Frame for CustomControl
+description: FirstLineHanging Element for Frame for CustomControl
---
-# FirstLineHanging Element for Frame for CustomControl for View (Format)
+# FirstLineHanging Element for Frame for CustomControl
-Specifies how many characters the first line of data is shifted to the left. This element is used when defining a custom control view.
+Specifies how many characters the first line of data is shifted to the left. This element is used
+when defining a custom control view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-CustomControl Element (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for View (Format)
-CustomItem Element for CustomEntry for CustomControlView (Format)
-Frame Element for CustomItem for CustomControl for View (Format)
-FirstLineHanging Element for Frame for CustomControl for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- FirstLineHanging Element
## Syntax
FirstLineHanging Element for Frame for CustomControl for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `FirstLineHanging` element.
+The following sections describe attributes, child elements, and parent element of the
+`FirstLineHanging` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for CustomControl for View (Format)](./frame-element-for-customitem-for-customcontrol-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for CustomControl for View](./frame-element-for-customitem-for-customcontrol-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
If this element is specified, you cannot specify the [FirstLineIndent](./firstli
## See Also
-[FirstLineIndent Element for Frame for CustomControl for View (Format)](./firstlineindent-element-for-frame-for-customcontrol-for-view-format.md)
+[FirstLineIndent Element for Frame for CustomControl for View](./firstlineindent-element-for-frame-for-customcontrol-for-view-format.md)
-[Frame Element for CustomItem for CustomControl for View (Format)](./frame-element-for-customitem-for-customcontrol-for-view-format.md)
+[Frame Element for CustomItem for CustomControl for View](./frame-element-for-customitem-for-customcontrol-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Firstlinehanging Element For Frame For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/firstlinehanging-element-for-frame-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FirstLineHanging Element for Frame for GroupBy (Format)
-description: FirstLineHanging Element for Frame for GroupBy (Format)
+ Title: FirstLineHanging Element for Frame for GroupBy
+description: FirstLineHanging Element for Frame for GroupBy
---
-# FirstLineHanging Element for Frame for GroupBy (Format)
+# FirstLineHanging Element for Frame for GroupBy
-Specifies how many characters the first line of data is shifted to the left. This element is used when defining how a new group of objects is displayed.
+Specifies how many characters the first line of data is shifted to the left. This element is used
+when defining how a new group of objects is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-CustomControl Element for GroupBy (Format)
-CustomEntries Element for CustomControl for GroupBy (Format)
-CustomEntry Element for CustomControl for GroupBy (Format)
-CustomItem Element for CustomEntry for GroupBy (Format)
-Frame Element for CustomItem for GroupBy (Format)
-FirstLineHanging Element for Frame for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- FirstLineHanging Element
## Syntax
FirstLineHanging Element for Frame for GroupBy (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `FirstLineHanging` element.
+The following sections describe attributes, child elements, and parent element of the
+`FirstLineHanging` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for GroupBy (Format)](./frame-element-for-customitem-for-groupby-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for GroupBy](./frame-element-for-customitem-for-groupby-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
If this element is specified, you cannot specify the [FirstLineIndent](./firstli
## See Also
-[FirstLineIndent Element for Frame for GroupBy (Format)](./firstlineindent-element-for-frame-for-groupby-format.md)
+[FirstLineIndent Element for Frame for GroupBy](./firstlineindent-element-for-frame-for-groupby-format.md)
-[Frame Element for CustomItem for GroupBy (Format)](./frame-element-for-customitem-for-groupby-format.md)
+[Frame Element for CustomItem for GroupBy](./frame-element-for-customitem-for-groupby-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Firstlineindent Element For Frame For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/firstlineindent-element-for-frame-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FirstLineIndent Element for Frame for Controls for Configuration (Format)
-description: FirstLineIndent Element for Frame for Controls for Configuration (Format)
+ Title: FirstLineIndent Element for Frame for Controls for Configuration
+description: FirstLineIndent Element for Frame for Controls for Configuration
---
-# FirstLineIndent Element for Frame for Controls for Configuration (Format)
+# FirstLineIndent Element for Frame for Controls for Configuration
-Specifies how many characters the first line of data is shifted to the right. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies how many characters the first line of data is shifted to the right. This element is used
+when defining a common control that can be used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-CustomControl Element for Control for Configuration (Format)
-CustomEntries Element for CustomControl for Configuration (Format)
-CustomEntry Element for CustomControl for Controls for Configuration (Format)
-CustomItem Element for CustomEntry for Controls for Configuration
-Frame Element for CustomItem for Controls for Configuration (Format)
-FirstLineIndent Element for Frame for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- FirstLineIndent Element
## Syntax
FirstLineIndent Element for Frame for Controls for Configuration (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `FirstLineIndent` element.
+The following sections describe attributes, child elements, and parent element of the
+`FirstLineIndent` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for Controls for Configuration (Format)](./frame-element-for-customitem-for-controls-for-configuration-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for Controls for Configuration](./frame-element-for-customitem-for-controls-for-configuration-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
If this element is specified, you cannot specify the [FirstLineHanging](./firstl
## See Also
-[FirstLineHanging Element for Frame for Controls for Configuration (Format)](./firstlinehanging-element-for-frame-for-controls-for-configuration-format.md)
+[FirstLineHanging Element for Frame for Controls for Configuration](./firstlinehanging-element-for-frame-for-controls-for-configuration-format.md)
-[Frame Element for CustomItem for Controls for Configuration (Format)](./frame-element-for-customitem-for-controls-for-configuration-format.md)
+[Frame Element for CustomItem for Controls for Configuration](./frame-element-for-customitem-for-controls-for-configuration-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Firstlineindent Element For Frame For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/firstlineindent-element-for-frame-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FirstLineIndent Element for Frame for Controls for View (Format)
-description: FirstLineIndent Element for Frame for Controls for View (Format)
+ Title: FirstLineIndent Element for Frame for Controls for View
+description: FirstLineIndent Element for Frame for Controls for View
---
-# FirstLineIndent Element for Frame for Controls for View (Format)
-
-Specifies how many characters the first line of data is shifted to the right. This element is used when defining controls that can be used by a view.
-
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-CustomControl Element for Control for Controls for View (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for Controls for View (Format)
-CustomItem Element for CustomEntry for Controls for View (Format)
-Frame Element for CustomItem for Controls for View (Format)
-FirstLineIndent Element of Frame of Controls of View (Format)
+# FirstLineIndent Element for Frame for Controls for View
+
+Specifies how many characters the first line of data is shifted to the right. This element is used
+when defining controls that can be used by a view.
+
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- FirstLineIndent Element
## Syntax
FirstLineIndent Element of Frame of Controls of View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `FirstLineIndent` element.
+The following sections describe attributes, child elements, and parent element of the
+`FirstLineIndent` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for Controls for View (Format)](./frame-element-for-customitem-for-controls-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for Controls for View](./frame-element-for-customitem-for-controls-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
If this element is specified, you cannot specify the [FirstLineHanging](./firstl
## See Also
-[FirstLineHanging Element for Frame for Controls for View (Format)](./firstlinehanging-element-for-frame-for-controls-for-view-format.md)
+[FirstLineHanging Element for Frame for Controls for View](./firstlinehanging-element-for-frame-for-controls-for-view-format.md)
-[Frame Element for CustomItem for Controls for View (Format)](./frame-element-for-customitem-for-controls-for-view-format.md)
+[Frame Element for CustomItem for Controls for View](./frame-element-for-customitem-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Firstlineindent Element For Frame For Customcontrol For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/firstlineindent-element-for-frame-for-customcontrol-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FirstLineIndent Element for Frame for CustomControl for View (Format)
-description: FirstLineIndent Element for Frame for CustomControl for View (Format)
+ Title: FirstLineIndent Element for Frame for CustomControl for View
+description: FirstLineIndent Element for Frame for CustomControl for View
---
-# FirstLineIndent Element for Frame for CustomControl for View (Format)
+# FirstLineIndent Element for Frame for CustomControl for View
-Specifies how many characters the first line of data is shifted to the right. This element is used when defining a custom control view.
+Specifies how many characters the first line of data is shifted to the right. This element is used
+when defining a custom control view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-CustomControl Element (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for View (Format)
-CustomItem Element for CustomEntry for CustomControlView (Format)
-Frame Element for CustomItem for CustomControl for View (Format)
-FirstLineIndent Element
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- FirstLineIndent Element
## Syntax
FirstLineIndent Element
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `FirstLineIndent` element.
+The following sections describe attributes, child elements, and parent element of the
+`FirstLineIndent` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for CustomControl for View (Format)](./frame-element-for-customitem-for-customcontrol-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for CustomControl for View](./frame-element-for-customitem-for-customcontrol-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
If this element is specified, you cannot specify the [FirstLineHanging](./firstl
## See Also
-[FirstLineHanging Element for Frame for CustomControl for View (Format)](./firstlinehanging-element-for-frame-for-customcontrol-for-view-format.md)
+[FirstLineHanging Element for Frame for CustomControl for View](./firstlinehanging-element-for-frame-for-customcontrol-for-view-format.md)
-[Frame Element for CustomItem for CustomControl for View (Format)](./frame-element-for-customitem-for-customcontrol-for-view-format.md)
+[Frame Element for CustomItem for CustomControl for View](./frame-element-for-customitem-for-customcontrol-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Firstlineindent Element For Frame For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/firstlineindent-element-for-frame-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FirstLineIndent Element for Frame for GroupBy (Format)
-description: FirstLineIndent Element for Frame for GroupBy (Format)
+ Title: FirstLineIndent Element for Frame for GroupBy
+description: FirstLineIndent Element for Frame for GroupBy
---
-# FirstLineIndent Element for Frame for GroupBy (Format)
+# FirstLineIndent Element for Frame for GroupBy
-Specifies how many characters the first line of data is shifted to the right. This element is used when defining how a new group of objects is displayed.
+Specifies how many characters the first line of data is shifted to the right. This element is used
+when defining how a new group of objects is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-CustomControl Element for GroupBy (Format)
-CustomEntries Element for CustomControl for GroupBy (Format)
-CustomEntry Element for CustomControl for GroupBy (Format)
-CustomItem Element for CustomEntry for GroupBy (Format)
-Frame Element for CustomItem for GroupBy (Format)
-FirstLineIndent Element for Frame for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element for View
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- FirstLineIndent Element
## Syntax
FirstLineIndent Element for Frame for GroupBy (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `FirstLineIndent` element.
+The following sections describe attributes, child elements, and parent element of the
+`FirstLineIndent` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for GroupBy (Format)](./frame-element-for-customitem-for-groupby-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for GroupBy](./frame-element-for-customitem-for-groupby-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
If this element is specified, you cannot specify the [FirstLineHanging](./firstl
## See Also
-[FirstLineHanging Element for Frame for GroupBy (Format)](./firstlinehanging-element-for-frame-for-groupby-format.md)
+[FirstLineHanging Element for Frame for GroupBy](./firstlinehanging-element-for-frame-for-groupby-format.md)
-[Frame Element for CustomItem for GroupBy (Format)](./frame-element-for-customitem-for-groupby-format.md)
+[Frame Element for CustomItem for GroupBy](./frame-element-for-customitem-for-groupby-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Format Schema Xml Reference https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/format-schema-xml-reference.md
description: Format Schema XML Reference
--- # Format Schema XML Reference
-The topics in this section describe the XML elements used by formatting files (Format.ps1xml files). Formatting files define how the .NET object is displayed; they do not change the object itself.
+The topics in this section describe the XML elements used by formatting files (Format.ps1xml files).
+Formatting files define how the .NET object is displayed; they do not change the object itself.
## In This Section
Defines how the data in a column header is displayed.
Defines how the data in the row is displayed. [AutoSize Element for TableControl (Format)](./autosize-element-for-tablecontrol-format.md)
-Specifies whether the column size and the number of columns are adjusted based on the size of the data.
+Specifies whether the column size and the number of columns are adjusted based on the size of the
+data.
-[Autosize Element for WideControl (Format)](./autosize-element-for-widecontrol-format.md)
-Specifies whether the column size and the number of columns are adjusted based on the size of the data.
+[Autosize Element for WideControl (Format)](./autosize-element-for-widecontrol-format.md) Specifies
+whether the column size and the number of columns are adjusted based on the size of the data.
[ColumnNumber Element for WideControl (Format)](./columnnumber-element-for-widecontrol-format.md) Specifies the number of columns displayed in the wide view.
Specifies the number of columns displayed in the wide view.
Represents the top-level element of the formatting file. [Control Element for Controls for Configuration (Format)](./control-element-for-controls-for-configuration-format.md)
-Defines a common control that can be used by all the views of the formatting file and the name that is used to reference the control.
+Defines a common control that can be used by all the views of the formatting file and the name that
+is used to reference the control.
[Control Element for Controls for View (Format)](./control-element-for-controls-for-view-format.md) Defines a control that can be used by the view and the name that is used to reference the control.
Defines the common controls that can be used by all views of the formatting file
Defines the view controls that can be used by a specific view. [CustomControl Element for Control for Configuration (Format)](./customcontrol-element-for-control-for-controls-for-configuration-format.md)
-Defines a control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines a control. This element is used when defining a common control that can be used by all the
+views in the formatting file.
[CustomControl Element for Control for Controls for View (Format)](./customcontrol-element-for-control-for-controls-for-view-format.md) Defines a control that is used by the view.
Defines the custom control that displays the new group.
Defines a custom control format for the view. [CustomControlName Element for ExpressionBinding for Controls for Configuration (Format)](./customcontrolname-element-for-expressionbinding-for-controls-for-configuration-format.md)
-Specifies the name of a common control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the name of a common control. This element is used when defining a common control that can
+be used by all the views in the formatting file.
[CustomControlName Element for ExpressionBindine for Controls for View (Format)](./customcontrolname-element-for-expressionbinding-for-controls-for-view-format.md)
-Specifies the name of a common control or a view control. This element is used when defining controls that can be used by a view.
+Specifies the name of a common control or a view control. This element is used when defining
+controls that can be used by a view.
[CustomControlName Element of GroupBy (Format)](./customcontrolname-element-for-groupby-format.md)
-Specifies the name of a custom control that is used to display the new group. This element is used when defining a table, list, wide or custom control view.
+Specifies the name of a custom control that is used to display the new group. This element is used
+when defining a table, list, wide or custom control view.
[CustomEntry Element for CustomControl for Controls for Configuration (Format)](./customentry-element-for-customcontrol-for-controls-for-configuration-format.md)
-Provides a definition of the common control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Provides a definition of the common control. This element is used when defining a common control
+that can be used by all the views in the formatting file.
[CustomEntry Element for CustomEntries for Controls for View (Format)](./customentry-element-for-customentries-for-controls-for-view-format.md)
-Provides a definition of the control. This element is used when defining controls that can be used by a view.
+Provides a definition of the control. This element is used when defining controls that can be used
+by a view.
[CustomEntry Element for CustomEntries for View (Format)](./customentry-element-for-customentries-for-customcontrol-for-view-format.md) Provides a definition of the custom control view. [CustomEntry Element for CustomControl for GroupBy (Format)](./customentry-element-for-customcontrol-for-groupby-format.md)
-Provides a definition of the control. This element is used when defining how a new group of objects is displayed.
+Provides a definition of the control. This element is used when defining how a new group of objects
+is displayed.
[CustomEntries Element for CustomControl for Configuration (Format)](./customentries-element-for-customcontrol-for-controls-for-configuration-format.md)
-Provides the definitions of a common control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Provides the definitions of a common control. This element is used when defining a common control
+that can be used by all the views in the formatting file.
[CustomEntries Element for CustomControl for Controls for View (Format)](./customentries-element-for-customcontrol-for-controls-for-view-format.md)
-Provides the definitions for the control. This element is used when defining controls that can be used by a view.
+Provides the definitions for the control. This element is used when defining controls that can be
+used by a view.
[CustomEntries Element for CustomControl for GroupBy (Format)](./customentries-element-for-customcontrol-for-groupby-format.md)
-Provides the definitions for the control. This element is used when defining how a new group of objects is displayed.
+Provides the definitions for the control. This element is used when defining how a new group of
+objects is displayed.
[CustomEntries Element for CustomControl for View (Format)](./customentries-element-for-customcontrol-for-view-format.md)
-Provides the definitions of the custom control view. The custom control view must specify one or more definitions.
+Provides the definitions of the custom control view. The custom control view must specify one or
+more definitions.
[CustomItem Element for CustomEntry for Controls for Configuration](./customitem-element-for-customentry-for-controls-for-configuration-format.md)
-Defines what data is displayed by the control and how it is displayed. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines what data is displayed by the control and how it is displayed. This element is used when
+defining a common control that can be used by all the views in the formatting file.
[CustomItem Element for CustomEntry for Controls for View (Format)](./customitem-element-for-customentry-for-controls-for-view-format.md)
-Defines what data is displayed by the control and how it is displayed. This element is used when defining controls that can be used by a view.
+Defines what data is displayed by the control and how it is displayed. This element is used when
+defining controls that can be used by a view.
[CustomItem Element for CustomEntry for View (Format)](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)
-Defines what data is displayed by the custom control view and how it is displayed. This element is used when defining a custom control view.
+Defines what data is displayed by the custom control view and how it is displayed. This element is
+used when defining a custom control view.
[CustomItem Element for CustomEntry for GroupBy (Format)](./customitem-element-for-customentry-for-groupby-format.md)
-Defines what data is displayed by the custom control view and how it is displayed. This element is used when defining how a new group of objects is displayed.
+Defines what data is displayed by the custom control view and how it is displayed. This element is
+used when defining how a new group of objects is displayed.
-[DefaultSettings Element (Format)](./defaultsettings-element-format.md)
-Defines common settings that apply to all the views of the formatting file. Common settings include displaying errors, wrapping text in tables, defining how collections are expanded, and more.
+[DefaultSettings Element (Format)](./defaultsettings-element-format.md) Defines common settings that
+apply to all the views of the formatting file. Common settings include displaying errors, wrapping
+text in tables, defining how collections are expanded, and more.
[DisplayError Element (Format)](./displayerror-element-format.md) Specifies that the string #ERR is displayed when an error occurs displaying a piece of data. [EntrySelectedBy Element for CustomEntry for Controls for Configuration (Format)](./entryselectedby-element-for-customentry-for-controls-for-configuration-format.md)
-Defines the .NET types that use the definition of the common control or the condition that must exist for this control to be used. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines the .NET types that use the definition of the common control or the condition that must
+exist for this control to be used. This element is used when defining a common control that can be
+used by all the views in the formatting file.
[EntrySelectedBy Element for CustomEntry for Controls for View (Format)](./entryselectedby-element-for-customentry-for-controls-for-view-format.md)
-Defines the .NET types that use this control definition or the condition that must exist for this definition to be used. This element is used when defining controls that can be used by a view.
+Defines the .NET types that use this control definition or the condition that must exist for this
+definition to be used. This element is used when defining controls that can be used by a view.
[EntrySelectedBy Element for CustomEntry for View (Format)](./entryselectedby-element-for-customentry-for-customcontrol-for-view-format.md)
-Defines the .NET types that use this custom entry or the condition that must exist for this entry to be used.
+Defines the .NET types that use this custom entry or the condition that must exist for this entry to
+be used.
[EntrySelectedBy Element for EnumerableExpansion (Format)](./entryselectedby-element-for-enumerableexpansion-format.md)
-Defines the .NET types that use this definition or the condition that must exist for this definition to be used.
+Defines the .NET types that use this definition or the condition that must exist for this definition
+to be used.
[EntrySelectedBy Element for CustomEntry for GroupBy (Format)](./entryselectedby-element-for-customentry-for-groupby-format.md)
-Defines the .NET types that use this control definition or the condition that must exist for this definition to be used. This element is used when defining how a new group of objects is displayed.
+Defines the .NET types that use this control definition or the condition that must exist for this
+definition to be used. This element is used when defining how a new group of objects is displayed.
[EntrySelectedBy Element for ListEntry for ListControl (Format)](./entryselectedby-element-for-listentry-for-listcontrol-format.md)
-Defines the .NET types that use this list view definition or the condition that must exist for this definition to be used. In most cases only one definition is needed for a list view. However, you can provide multiple definitions for the list view if you want to use the same list view to display different data for different objects.
+Defines the .NET types that use this list view definition or the condition that must exist for this
+definition to be used. In most cases only one definition is needed for a list view. However, you can
+provide multiple definitions for the list view if you want to use the same list view to display
+different data for different objects.
[EntrySelectedBy Element for TableRowEntry (Format)](./entryselectedby-element-for-tablerowentry-for-tablecontrol-format.md) Defines the .NET types whose property values are displayed in the row. [EntrySelectedBy Element for WideEntry (Format)](./entryselectedby-element-for-wideentry-format.md)
-Defines the .NET types that use this definition of the wide view or the condition that must exist for this definition to be used.
+Defines the .NET types that use this definition of the wide view or the condition that must exist
+for this definition to be used.
[EnumerableExpansion Element (Format)](./enumerableexpansion-element-format.md) Defines how specific .NET collection objects are expanded when they are displayed in a view.
Defines how specific .NET collection objects are expanded when they are displaye
Defines how .NET collection objects are expanded when they are displayed in a view. [EnumerateCollection Element for ExpressionBinding for Controls for Configuration (Format)](./enumeratecollection-element-for-expressionbinding-for-controls-for-configuration-format.md)
-Specified that the elements of collections are displayed by the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specified that the elements of collections are displayed by the control. This element is used when
+defining a common control that can be used by all the views in the formatting file.
[EnumerateCollection Element for ExpressionBinding for Controls for View (Format)](./enumeratecollection-element-for-expressionbinding-for-controls-for-view-format.md)
-Specified that the elements of collections are displayed. This element is used when defining controls that can be used by a view.
+Specified that the elements of collections are displayed. This element is used when defining
+controls that can be used by a view.
[EnumerateCollection Element for Expression Binding for CustomControl for View (Format)](./enumeratecollection-element-for-expressionbinding-for-customcontrol-for-view-format.md)
-Specifies that the elements of collections are displayed. This element is used when defining a custom control view.
+Specifies that the elements of collections are displayed. This element is used when defining a
+custom control view.
[EnumerateCollection Element for ExpressionBinding for GroupBy (Format)](./enumeratecollection-element-for-expressionbinding-for-groupby-format.md)
-Specifies that the elements of collections are displayed. This element is used when defining how a new group of objects is displayed.
+Specifies that the elements of collections are displayed. This element is used when defining how a
+new group of objects is displayed.
[Expand Element (Format)](./expand-element-format.md) Specifies how the collection object is expanded for this definition. [ExpressionBinding Element for CustomItem for Controls for Configuration (Format)](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
-Defines the data that is displayed by the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines the data that is displayed by the control. This element is used when defining a common
+control that can be used by all the views in the formatting file.
[ExpressionBinding Element for CustomItem for Controls for View (Format)](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
-Defines the data that is displayed by the control. This element is used when defining controls that can be used by a view.
+Defines the data that is displayed by the control. This element is used when defining controls that
+can be used by a view.
[ExpressionBinding Element for CustomItem for CustomControl for View (Format)](./expressionbinding-element-for-customitem-for-customcontrol-for-view-format.md)
-Defines the data that is displayed by the control. This element is used when defining a custom control view.
+Defines the data that is displayed by the control. This element is used when defining a custom
+control view.
[ExpressionBinding Element for CustomItem for GroupBy (Format)](./expressionbinding-element-for-customitem-for-groupby-format.md)
-Defines the data that is displayed by the control. This element is used when defining how a new group of objects is displayed.
+Defines the data that is displayed by the control. This element is used when defining how a new
+group of objects is displayed.
[FirstLineHanging Element for Frame for Controls for Configuration (Format)](./firstlinehanging-element-for-frame-for-controls-for-configuration-format.md)
-Specifies how many characters the first line of data is shifted to the left. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies how many characters the first line of data is shifted to the left. This element is used
+when defining a common control that can be used by all the views in the formatting file.
[FirstLineHanging Element of Frame of Controls of View (Format)](./firstlinehanging-element-for-frame-for-controls-for-view-format.md)
-Specifies how many characters the first line of data is shifted to the left. This element is used when defining controls that can be used by a view.
+Specifies how many characters the first line of data is shifted to the left. This element is used
+when defining controls that can be used by a view.
[FirstLineHanging Element for Frame for CustomControl for View (Format)](./firstlinehanging-element-for-frame-for-customcontrol-for-view-format.md)
-Specifies how many characters the first line of data is shifted to the left. This element is used when defining a custom control view.
+Specifies how many characters the first line of data is shifted to the left. This element is used
+when defining a custom control view.
[FirstLineHanging Element for Frame for GroupBy (Format)](./firstlinehanging-element-for-frame-for-groupby-format.md)
-Specifies how many characters the first line of data is shifted to the left. This element is used when defining how a new group of objects is displayed.
+Specifies how many characters the first line of data is shifted to the left. This element is used
+when defining how a new group of objects is displayed.
[FirstLineIndent Element for Frame for Controls for Configuration (Format)](./firstlineindent-element-for-frame-for-controls-for-configuration-format.md)
-Specifies how many characters the first line of data is shifted to the right. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies how many characters the first line of data is shifted to the right. This element is used
+when defining a common control that can be used by all the views in the formatting file.
[FirstLineIndent Element of Frame of Controls of View (Format)](./firstlineindent-element-for-frame-for-controls-for-view-format.md)
-Specifies how many characters the first line of data is shifted to the right. This element is used when defining controls that can be used by a view.
+Specifies how many characters the first line of data is shifted to the right. This element is used
+when defining controls that can be used by a view.
[FirstLineIndent Element](./firstlineindent-element-for-frame-for-customcontrol-for-view-format.md)
-Specifies how many characters the first line of data is shifted to the right. This element is used when defining a custom control view.
+Specifies how many characters the first line of data is shifted to the right. This element is used
+when defining a custom control view.
[FirstLineIndent Element for Frame for GroupBy (Format)](./firstlineindent-element-for-frame-for-groupby-format.md)
-Specifies how many characters the first line of data is shifted to the right. This element is used when defining how a new group of objects is displayed.
+Specifies how many characters the first line of data is shifted to the right. This element is used
+when defining how a new group of objects is displayed.
[FormatString Element for ListItem (Format)](./formatstring-element-for-listitem-for-listcontrol-format.md) Specifies a format pattern that defines how the property or script value is displayed.
Specifies a format pattern that defines how the property or script value of the
Specifies a format pattern that defines how the property or script value is displayed in the view. [Frame Element for CustomItem for Controls for Configuration (Format)](./frame-element-for-customitem-for-controls-for-configuration-format.md)
-Defines how the data is displayed, such as shifting the data to the left or right. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines how the data is displayed, such as shifting the data to the left or right. This element is
+used when defining a common control that can be used by all the views in the formatting file.
[Frame Element for CustomItem for Controls for View (Format)](./frame-element-for-customitem-for-controls-for-view-format.md)
-Defines how the data is displayed, such as shifting the data to the left or right. This element is used when defining controls that can be used by a view.
+Defines how the data is displayed, such as shifting the data to the left or right. This element is
+used when defining controls that can be used by a view.
[Frame Element for CustomItem for CustomControl for View (Format)](./frame-element-for-customitem-for-customcontrol-for-view-format.md)
-Defines how the data is displayed, such as shifting the data to the left or right. This element is used when defining a custom control view.
+Defines how the data is displayed, such as shifting the data to the left or right. This element is
+used when defining a custom control view.
[Frame Element for CustomItem for GroupBy (Format)](./frame-element-for-customitem-for-groupby-format.md)
-Defines how the data is displayed, such as shifting the data to the left or right. This element is used when defining how a new group of objects is displayed.
+Defines how the data is displayed, such as shifting the data to the left or right. This element is
+used when defining how a new group of objects is displayed.
[GroupBy Element for View (Format)](./groupby-element-for-view-format.md) Defines how Windows PowerShell displays a new group of objects.
Defines how Windows PowerShell displays a new group of objects.
Specifies that the headers of the table are not displayed. [ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration (Format)](./itemselectioncondition-element-for-expressionbinding-for-controls-for-configuration-format.md)
-Defines the condition that must exist for this control to be used. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines the condition that must exist for this control to be used. This element is used when
+defining a common control that can be used by all the views in the formatting file.
[ItemSelectionCondition Element of ExpressionBinding for Controls for View (Format)](./itemselectioncondition-element-for-expressionbinding-for-controls-for-view-format.md)
-Defines the condition that must exist for this control to be used. This element is used when defining controls that can be used by a view.
+Defines the condition that must exist for this control to be used. This element is used when
+defining controls that can be used by a view.
[ItemSelectionCondition Element for Expression Binding for CustomControl for View (Format)](./itemselectioncondition-element-for-expressionbinding-for-customcontrol-format.md)
-Defines the condition that must exist for this control to be used. There is no limit to the number of selection conditions that can be specified for a control item. This element is used when defining a custom control view.
+Defines the condition that must exist for this control to be used. There is no limit to the number
+of selection conditions that can be specified for a control item. This element is used when defining
+a custom control view.
[ItemSelectionCondition Element for ExpressionBinding for GroupBy (Format)](./itemselectioncondition-element-for-expressionbinding-for-groupby-format.md)
-Defines the condition that must exist for this control to be used. There is no limit to the number of selection conditions that can be specified for a control item. This element is used when defining how a new group of objects is displayed.
+Defines the condition that must exist for this control to be used. There is no limit to the number
+of selection conditions that can be specified for a control item. This element is used when defining
+how a new group of objects is displayed.
[ItemSelectionCondition Element for ListItem (Format)](./itemselectioncondition-element-for-listitem-for-listcontrol-format.md) Defines the condition that must exist for this list item to be used.
Specifies a label that is displayed when a new group is encountered.
Defines the label that is displayed at the top of a column. [LeftIndent Element for Frame for Controls for Configuration (Format)](./leftindent-element-for-frame-for-controls-for-configuration-format.md)
-Specifies how many characters the data is shifted away from the left margin. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies how many characters the data is shifted away from the left margin. This element is used
+when defining a common control that can be used by all the views in the formatting file.
[LeftIndent Element of Frame of Controls of View (Format)](./leftindent-element-for-frame-for-controls-for-view-format.md)
-Specifies how many characters the data is shifted away from the left margin. This element is used when defining controls that can be used by a view.
+Specifies how many characters the data is shifted away from the left margin. This element is used
+when defining controls that can be used by a view.
[LeftIndent Element for Frame for CustomControl for View (Format)](./leftindent-element-for-frame-for-customcontrol-for-view-format.md)
-Specifies how many characters the data is shifted away from the left margin. This element is used when defining a custom control view.
+Specifies how many characters the data is shifted away from the left margin. This element is used
+when defining a custom control view.
[LeftIndent Element for Frame for GroupBy (Format)](./leftindent-element-for-frame-for-groupby-format.md)
-Specifies how many characters the data is shifted away from the left margin. This element is used when defining how a new group of objects is displayed.
+Specifies how many characters the data is shifted away from the left margin. This element is used
+when defining how a new group of objects is displayed.
[ListControl Element (Format)](./listcontrol-element-format.md) Defines a list format for the view.
Defines the property or script whose value is displayed in a row of the list vie
Defines the properties and scripts that are displayed in the list view. [Name Element for Control for Controls for Configuration (Format)](./name-element-for-control-for-controls-for-configuration-format.md)
-Specifies the name of the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the name of the control. This element is used when defining a common control that can be
+used by all the views in the formatting file.
[Name Element for SelectionSet (Format)](./name-element-for-selectionset-format.md) Specifies the name used to reference the selection set.
Specifies the name used to reference the selection set.
Specifies the name that is used to identify the view. [NewLine Element for CustomItem for Controls for Configuration (Format)](./newline-element-for-customitem-for-controls-for-configuration-format.md)
-Adds a blank line to the display of the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Adds a blank line to the display of the control. This element is used when defining a common control
+that can be used by all the views in the formatting file.
[NewLine Element for CustomItem for Controls for View (Format)](./newline-element-for-customitem-for-controls-for-view-format.md)
-Adds a blank line to the display of the control. This element is used when defining controls that can be used by a view.
+Adds a blank line to the display of the control. This element is used when defining controls that
+can be used by a view.
[NewLine Element for CustomItem for CustomControl for View (Format)](./newline-element-for-customitem-for-customcontrol-for-view-format.md)
-Adds a blank line to the display of the control. This element is used when defining a custom control view.
+Adds a blank line to the display of the control. This element is used when defining a custom control
+view.
[NewLine Element for CustomItem for GroupBy (Format)](./newline-element-for-customitem-for-groupby-format.md)
-Adds a blank line to the display of the control. This element is used when defining how a new group of objects is displayed.
+Adds a blank line to the display of the control. This element is used when defining how a new group
+of objects is displayed.
[PropertyName Element for ExpressionBinding for Controls for Configuration (Format)](./propertyname-element-for-expressionbinding-for-controls-for-configuration-format.md)
-Specifies the .NET property whose value is displayed by the common control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the .NET property whose value is displayed by the common control. This element is used
+when defining a common control that can be used by all the views in the formatting file.
[PropertyName Element for ExpressionBinding for Controls for View (Format)](./propertyname-element-for-expressionbinding-for-controls-for-view-format.md)
-Specifies the .NET property whose value is displayed by the control. This element is used when defining controls that can be used by a view.
+Specifies the .NET property whose value is displayed by the control. This element is used when
+defining controls that can be used by a view.
[PropertyName Element for ExpressionBinding for CustomControl for View (Format)](./propertyname-element-for-expressionbinding-for-customcontrol-for-view-format.md)
-Specifies the .NET property whose value is displayed by the control. This element is used when defining a custom control view
+Specifies the .NET property whose value is displayed by the control. This element is used when
+defining a custom control view
[PropertyName Element for ExpressionBinding for GroupBy (Format)](./propertyname-element-for-expressionbinding-for-groupby-format.md)
-Specifies the .NET property whose value is displayed by the control. This element is used when defining how a new group of objects is displayed.
+Specifies the .NET property whose value is displayed by the control. This element is used when
+defining how a new group of objects is displayed.
[PropertyName Element for GroupBy (Format)](./propertyname-element-for-groupby-format.md) Specifies the .NET property that starts a new group whenever its value changes. [PropertyName Element for ItemSeclectionCondition for Controls for Configuration (Format)](./propertyname-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the control is used. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the control is used. This element is used when
+defining a common control that can be used by all the views in the formatting file.
[PropertyName Element for ItemSelectionCondition for Controls for View (Format)](./propertyname-element-for-itemselectioncondition-for-controls-for-view-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the control is used. This element is used when defining controls that can be used by a view.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the control is used. This element is used when
+defining controls that can be used by a view.
[PropertyName Element for ItemSelectionCondition for CustomControl for View (Format](./propertyname-element-for-itemselectioncondition-for-customcontrol-for-view-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the control is used. This element is used when defining a custom control view.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the control is used. This element is used when
+defining a custom control view.
[PropertyName Element for ItemSelectionCondition for GroupBy (Format)](./propertyname-element-for-itemselectioncondition-for-groupby-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the control is used. This element is used when defining how a new group of objects is displayed.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the control is used. This element is used when
+defining how a new group of objects is displayed.
[PropertyName Element for ItemSelectionCondition for ListItem (Format)](./propertyname-element-for-itemselectioncondition-for-listcontrol-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the view is used. This element is used when defining a list view.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the view is used. This element is used when defining
+a list view.
[PropertyName Element for ListItem for ListControl (Format)](./propertyname-element-for-listitem-for-listcontrol-format.md) Specifies the .NET property whose value is displayed in the list. [PropertyName Element for SelectionCondition for EntrySelectedBy for ListEntry (Format)](./propertyname-element-for-selectioncondition-for-controls-for-configuration-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the entry is used. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the entry is used. This element is used when defining
+a common control that can be used by all the views in the formatting file.
[PropertyName Element for SelectionCondition for Controls for View (Format)](./propertyname-element-for-selectioncondition-for-controls-for-view-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the entry is used. This element is used when defining controls that can be used by a view.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the entry is used. This element is used when defining
+controls that can be used by a view.
[PropertyName Element for SelectionCondition for CustomControl for View (Format)](./propertyname-element-for-selectioncondition-for-customcontrol-for-view-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the definition is used. This element is used when defining a custom control view.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the definition is used. This element is used when
+defining a custom control view.
[PropertyName Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion (Format)](./propertyname-element-for-selectioncondition-for-entryselectedby-for-enumerableexpansion-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the definition is used.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the definition is used.
[PropertyName Element for SelectionCondition for GroupBy (Format)](./propertyname-element-for-selectioncondition-for-groupby-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the definition is used. This element is used when defining how a new group of objects is displayed.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the definition is used. This element is used when
+defining how a new group of objects is displayed.
[PropertyName Element for SelectionCondition for EntrySelectedBy for ListEntry (Format)](./propertyname-element-for-selectioncondition-for-entryselectedby-for-listcontrol-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the list entry is used.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the list entry is used.
[PropertyName Element for SelectionCondition for EntrySelectedBy for TableRowEntry (Format)](./propertyname-element-for-selectioncondition-for-entryselectedby-for-tablerowentry-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the table entry is used.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the table entry is used.
[PropertyName Element for SelectionCondition for EntrySelectedBy for WideEntry (Format)](./propertyname-element-for-selectioncondition-for-entryselectedby-for-wideentry-format.md)
-Specifies the .NET property that triggers the condition. When this property is present or when it evaluates to `true`, the condition is met, and the definition is used.
+Specifies the .NET property that triggers the condition. When this property is present or when it
+evaluates to `true`, the condition is met, and the definition is used.
[PropertyName Element for TableColumnItem (Format)](./propertyname-element-for-tablecolumnitem-for-tablecontrol-format.md) Specifies the property whose value is displayed in the column of the row.
Specifies the property whose value is displayed in the column of the row.
Specifies the property of the object whose value is displayed in the wide view. [RightIndent Element for Frame for Controls for Configuration (Format)](./rightindent-element-for-frame-for-controls-for-configuration-format.md)
-Specifies how many characters the data is shifted away from the right margin. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies how many characters the data is shifted away from the right margin. This element is used
+when defining a common control that can be used by all the views in the formatting file.
[RightIndent Element of Frame of Controls of View (Format)](./rightindent-element-for-frame-for-controls-for-view-format.md)
-Specifies how many characters the data is shifted away from the right margin. This element is used when defining controls that can be used by a view.
+Specifies how many characters the data is shifted away from the right margin. This element is used
+when defining controls that can be used by a view.
[RightIndent Element](./rightindent-element-for-frame-for-customcontrol-for-view-format.md)
-Specifies how many characters the data is shifted away from the right margin. This element is used when defining a custom control view.
+Specifies how many characters the data is shifted away from the right margin. This element is used
+when defining a custom control view.
[RightIndent Element for Frame for GroupBy (Format)](./rightindent-element-for-frame-for-groupby-format.md)
-Specifies how many characters the data is shifted away from the right margin. This element is used when defining how a new group of objects is displayed.
+Specifies how many characters the data is shifted away from the right margin. This element is used
+when defining how a new group of objects is displayed.
[ScriptBlock Element for ExpressionBinding for Controls for Configuration (Format)](./scriptblock-element-for-expressionbinding-for-controls-for-configuration-format.md)
-Specifies the script whose value is displayed by the common control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the script whose value is displayed by the common control. This element is used when
+defining a common control that can be used by all the views in the formatting file.
[ScriptBlock Element for ExpressionBinding for Controls for View (Format)](./scriptblock-element-for-expressionbinding-for-controls-for-view-format.md)
-Specifies the script whose value is displayed by the control. This element is used when defining controls that can be used by a view.
+Specifies the script whose value is displayed by the control. This element is used when defining
+controls that can be used by a view.
[ScriptBlock Element for ExpressionBinding for CustomCustomControl for View (Format)](./scriptblock-element-for-expressionbinding-for-customcontrol-for-view-format.md)
-Specifies the script whose value is displayed by the control. This element is used when defining a custom control view.
+Specifies the script whose value is displayed by the control. This element is used when defining a
+custom control view.
[ScriptBlock Element for ExpressionBinding for GroupBy (Format)](./scriptblock-element-for-expressionbinding-for-groupby-format.md)
-Specifies the script whose value is displayed by the control. This element is used when defining how a new group of objects is displayed.
+Specifies the script whose value is displayed by the control. This element is used when defining how
+a new group of objects is displayed.
[ScriptBlock Element for GroupBy (Format)](./scriptblock-element-for-groupby-format.md) Specifies the script that starts a new group whenever its value changes. [ScriptBlock Element for ItemSelectionCondition for Controls for Configuration (Format)](./scriptblock-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the control is used. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the control is used. This element is used when defining a common control that
+can be used by all the views in the formatting file.
[ScriptBlock Element for ItemSelectionCondition for Controls for View (Format)](./scriptblock-element-for-itemselectioncondition-for-controls-for-view-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the control is used. This element is used when defining controls that can be used by a view.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the control is used. This element is used when defining controls that can be
+used by a view.
[ScriptBlock Element for ItemSelectionCondition for CustomControl for View (Format)](./scriptblock-element-for-itemselectioncondition-for-customcontrol-for-view-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the control is used. This element is used when defining a custom control view.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the control is used. This element is used when defining a custom control view.
[ScriptBlock Element for ItemSelectionCondition for GroupBy (Format)](./scriptblock-element-for-itemselectioncondition-for-groupby-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the control is used. This element is used when defining how a new group of objects is displayed.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the control is used. This element is used when defining how a new group of
+objects is displayed.
[ScriptBlock Element for ItemSelectionCondition for ListControl (Format)](./scriptblock-element-for-itemselectioncondition-for-listcontrol-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the list item is used. This element is used when defining a list view.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the list item is used. This element is used when defining a list view.
[ScriptBlock Element for ListItem (Format)](./scriptblock-element-for-listitem-for-listcontrol-format.md) Specifies the script whose value is displayed in the row of the list. [ScriptBlock Element for SelectionCondition for Controls for Configuration (Format)](./scriptblock-element-for-selectioncondition-for-controls-for-configuration-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the definition is used. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the definition is used. This element is used when defining a common control
+that can be used by all the views in the formatting file.
[ScriptBlock Element for SelectionCondition for Controls for View (Format)](./scriptblock-element-for-selectioncondition-for-controls-for-view-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the definition is used. This element is used when defining controls that can be used by a view.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the definition is used. This element is used when defining controls that can
+be used by a view.
[ScriptBlock Element for SelectionCondition for CustomControl for View (Format)](./scriptblock-element-for-selectioncondition-for-customcontrol-for-view-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the definition is used. This element is used when defining a custom control view.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the definition is used. This element is used when defining a custom control
+view.
[ScriptBlock Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion (Format)](./scriptblock-element-for-selectioncondition-for-entryselectedby-for-enumerableexpansion-format.md) Specifies the script that triggers the condition. [ScriptBlock Element for SelectionCondition for GroupBy (Format)](./scriptblock-element-for-selectioncondition-for-entryselectedby-for-groupby-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the definition is used. This element is used when defining how a new group of objects is displayed.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the definition is used. This element is used when defining how a new group of
+objects is displayed.
[ScriptBlock Element for SelectionCondition for EntrySelectedBy for ListEntry (Format)](./scriptblock-element-for-selectioncondition-for-entryselectedby-for-listcontrol-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the list entry is used.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the list entry is used.
[ScriptBlock Element for SelectionCondition for EntrySelectedBy for TableRowEntry (Format)](./scriptblock-element-for-selectioncondition-for-entryselectedby-for-tablecontrol-format.md)
-Specifies the script block that triggers the condition. When this script is evaluated to `true`, the condition is met, and the table entry is used.
+Specifies the script block that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the table entry is used.
[ScriptBlock Element for SelectionCondition for EntrySelectedBy for WideEntry (Format)](./scriptblock-element-for-selectioncondition-for-entryselectedby-for-widecontrol-format.md)
-Specifies the script that triggers the condition. When this script is evaluated to `true`, the condition is met, and the wide entry definition is used.
+Specifies the script that triggers the condition. When this script is evaluated to `true`, the
+condition is met, and the wide entry definition is used.
[ScriptBlock Element for TableColumnItem (Format)](./scriptblock-element-for-tablecolumnitem-for-tablecontrol-format.md) Specifies the script whose value is displayed in the column of the row.
Specifies the script whose value is displayed in the column of the row.
Specifies the script whose value is displayed in the wide view. [SelectionCondition Element for EntrySelectedBy for CustomEntry for Configuration (Format)](./selectioncondition-element-for-entryselectedby-for-controls-for-configuration-format.md)
-Defines a condition that must exist for a common control definition to be used. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines a condition that must exist for a common control definition to be used. This element is used
+when defining a common control that can be used by all the views in the formatting file.
[SelectionCondition Element for EntrySelectedBy for Controls for View (Format)](./selectioncondition-element-for-entryselectedby-for-controls-for-view-format.md)
-Defines a condition that must exist for the control definition to be used. This element is used when defining controls that can be used by a view.
+Defines a condition that must exist for the control definition to be used. This element is used when
+defining controls that can be used by a view.
[SelectionCondition Element for EntrySelectedBy for CustomControl for View (Format)](./selectioncondition-element-for-entryselectedby-for-customcontrol-format.md)
-Defines a condition that must exist for a control definition to be used. This element is used when defining a custom control view.
+Defines a condition that must exist for a control definition to be used. This element is used when
+defining a custom control view.
[SelectionCondition Element for EntrySelectedBy for EnumerableExpansion (Format)](./selectioncondition-element-for-entryselectedby-for-enumerableexpansion-format.md) Defines the condition that must exist to expand the collection objects of this definition. [SelectionCondition Element for EntrySelectedBy for GroupBy (Format)](./selectioncondition-element-for-entryselectedby-for-groupby-format.md)
-Defines a condition that must exist for a control definition to be used. This element is used when defining how a new group of objects is displayed.
+Defines a condition that must exist for a control definition to be used. This element is used when
+defining how a new group of objects is displayed.
[SelectionCondition Element for EntrySelectedBy for ListEntry (Format)](./selectioncondition-element-for-entryselectedby-for-listcontrol-format.md)
-Defines the condition that must exist to use this definition of the list view. There is no limit to the number of selection conditions that can be specified for a list definition.
+Defines the condition that must exist to use this definition of the list view. There is no limit to
+the number of selection conditions that can be specified for a list definition.
[SelectionCondition Element for EntrySelectedBy for TableRowEntry (Format)](./selectioncondition-element-for-entryselectedby-for-tablecontrol-format.md)
-Defines the condition that must exist to use for this definition of the table view. There is no limit to the number of selection conditions that can be specified for a table definition.
+Defines the condition that must exist to use for this definition of the table view. There is no
+limit to the number of selection conditions that can be specified for a table definition.
[SelectionCondition Element for EntrySelectedBy for WideEntry (Format)](./selectioncondition-element-for-entryselectedby-for-widecontrol-format.md)
-Defines the condition that must exist for this definition to be used. There is no limit to the number of selection conditions that can be specified for a wide entry definition.
+Defines the condition that must exist for this definition to be used. There is no limit to the
+number of selection conditions that can be specified for a wide entry definition.
[SelectionSet Element (Format)](./selectionset-element-format.md) Defines a set of .NET objects that can be referenced by the name of the set. [SelectionSetName Element for EntrySelectedBy for Controls for Configuration (Format)](./selectionsetname-element-for-selectioncondition-for-controls-for-configuration-format.md)
-Specifies a set of .NET types that use this definition of the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies a set of .NET types that use this definition of the control. This element is used when
+defining a common control that can be used by all the views in the formatting file.
[SelectionSetName Element for EntrySelectedBy for Controls for View (Format)](./selectionsetname-element-for-entryselectedby-for-controls-for-view-format.md)
-Specifies a set of .NET types that use this definition of the control. This element is used when defining controls that can be used by a view.
+Specifies a set of .NET types that use this definition of the control. This element is used when
+defining controls that can be used by a view.
[SelectionSetName Element for EntrySelectedBy for CustomEntry (Format)](./selectionsetname-element-for-entryselectedby-for-customcontrol-for-view-format.md)
-Specifies a set of .NET objects for the list entry. There is no limit to the number of selection sets that can be specified for an entry.
+Specifies a set of .NET objects for the list entry. There is no limit to the number of selection
+sets that can be specified for an entry.
[SelectionSetName Element for EntrySelectedBy for EnumerableExpansion (Format)](./selectionsetname-element-for-entryselectedby-for-enumerableexpansion-format.md) Specifies the set of .NET types that are expanded by this definition. [SelectionSetName Element for EntrySelectedBy for GroupBy (Format)](./selectionsetname-element-for-entryselectedby-for-groupby-format.md)
-Specifies a set of .NET objects for the list entry. There is no limit to the number of selection sets that can be specified for an entry. This element is used when defining how a new group of objects is displayed.
+Specifies a set of .NET objects for the list entry. There is no limit to the number of selection
+sets that can be specified for an entry. This element is used when defining how a new group of
+objects is displayed.
[SelectionSetName Element for EntrySelectedBy for ListEntry (Format)](./selectionsetname-element-for-entryselectedby-for-listcontrol-format.md)
-Specifies a set of .NET objects for the list entry. There is no limit to the number of selection sets that can be specified for an entry.
+Specifies a set of .NET objects for the list entry. There is no limit to the number of selection
+sets that can be specified for an entry.
[SelectionSetName Element for EntrySelectedBy for TableRowEntry (Format)](./selectionsetname-element-for-entryselectedby-for-tablecontrol-format.md)
-Specifies a set of .NET types the use this entry of the table view. There is no limit to the number of selection sets that can be specified for an entry.
+Specifies a set of .NET types the use this entry of the table view. There is no limit to the number
+of selection sets that can be specified for an entry.
[SelectionSetName Element for EntrySelectedBy for WideEntry (Format)](./selectionsetname-element-for-entryselectedby-for-widecontrol-format.md)
-Specifies a set of .NET objects for the definition. The definition is used whenever one of these objects is displayed.
+Specifies a set of .NET objects for the definition. The definition is used whenever one of these
+objects is displayed.
[SelectionSetName Element for SelectionCondition for Controls for Configuration (Format)](./selectionsetname-element-for-selectioncondition-for-controls-for-configuration-format.md)
-Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met, and the object is displayed by using this control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the set of .NET types that trigger the condition. When any of the types in this set are
+present, the condition is met, and the object is displayed by using this control. This element is
+used when defining a common control that can be used by all the views in the formatting file.
[SelectionSetName Element for SelectionCondition for Controls for View (Format)](./selectionsetname-element-for-selectioncondition-for-controls-for-view-format.md)
-Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met and the object is displayed using this control. This element is used when defining controls that can be used by a view.
+Specifies the set of .NET types that trigger the condition. When any of the types in this set are
+present, the condition is met and the object is displayed using this control. This element is used
+when defining controls that can be used by a view.
[EntrySelectedBy Element for CustomEntry for View (Format)](./entryselectedby-element-for-customentry-for-customcontrol-for-view-format.md)
-Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met and the object is displayed using this control. This element is used when defining a custom control view.
+Specifies the set of .NET types that trigger the condition. When any of the types in this set are
+present, the condition is met and the object is displayed using this control. This element is used
+when defining a custom control view.
[SelectionSetName Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion (Format)](./selectionsetname-element-for-selectioncondition-for-entryselectedby-for-enumerableexpansion-format.md)
-Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met.
+Specifies the set of .NET types that trigger the condition. When any of the types in this set are
+present, the condition is met.
[SelectionSetName Element for SelectionCondition for GroupBy (Format)](./selectionsetname-element-for-selectioncondition-for-groupby-format.md)
-Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met, and the object is displayed by using this control. This element is used when defining how a new group of objects is displayed.
+Specifies the set of .NET types that trigger the condition. When any of the types in this set are
+present, the condition is met, and the object is displayed by using this control. This element is
+used when defining how a new group of objects is displayed.
[SelectionSetName Element for SelectionCondition for EntrySelectedBy for ListEntry (Format)](./selectionsetname-element-for-selectioncondition-for-entryselectedby-for-listentry-format.md)
-Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met, and the object is displayed by using this definition of the list view.
+Specifies the set of .NET types that trigger the condition. When any of the types in this set are
+present, the condition is met, and the object is displayed by using this definition of the list
+view.
[SelectionSetName Element for SelectionCondition for EntrySelectedBy for TableRowEntry (Format)](./selectionsetname-element-for-selectioncondition-for-entryselectedby-for-tablecontrol-format.md)
-Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met, and the object is displayed by using this definition of the table view.
+Specifies the set of .NET types that trigger the condition. When any of the types in this set are
+present, the condition is met, and the object is displayed by using this definition of the table
+view.
[SelectionSetName Element for SelectionCondition for EntrySelectedBy for WideEntry (Format)](./selectionsetname-element-for-selectioncondition-for-entryselectedby-for-wideentry-format.md)
-Specifies the set of .NET types that trigger the condition. When any of the types in this set are present, the condition is met, and the object is displayed by using this definition of the wide view.
+Specifies the set of .NET types that trigger the condition. When any of the types in this set are
+present, the condition is met, and the object is displayed by using this definition of the wide
+view.
[SelectionSetName Element for ViewSelectedBy (Format)](./selectionsetname-element-for-viewselectedby-format.md) Specifies a set of .NET objects that are displayed by the view.
Specifies a set of .NET objects that are displayed by the view.
[SelectionSets Element (Format)](./selectionsets-element-format.md) Defines the sets of .NET objects that can be used by individual format views.
-[ShowError Element (Format)](./showerror-element-format.md)
-Specifies that the full error record is displayed when an error occurs while displaying a piece of data.
+[ShowError Element (Format)](./showerror-element-format.md) Specifies that the full error record is
+displayed when an error occurs while displaying a piece of data.
[TableColumnHeader Element for TableHeaders for TableControl (Format)](./tablecolumnheader-element-format.md) Defines the label, the width of the column, and the alignment of the label for a column of the table.
Defines the rows of the table.
Defines the data that is displayed in a row of the table. [Text Element for CustomItem for Controls for Configuration (Format)](./text-element-for-customitem-for-controls-for-configuration-format.md)
-Specifies text that is added to the data that is displayed by the control, such as a label, brackets to enclose the data, and spaces to indent the data. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies text that is added to the data that is displayed by the control, such as a label, brackets
+to enclose the data, and spaces to indent the data. This element is used when defining a common
+control that can be used by all the views in the formatting file.
[Text Element for CustomItem for Controls for View (Format)](./text-element-for-customitem-for-controls-for-view-format.md)
-Specifies text that is added to the data that is displayed by the control, such as a label, brackets to enclose the data, and spaces to indent the data. This element is used when defining controls that can be used by a view.
+Specifies text that is added to the data that is displayed by the control, such as a label, brackets
+to enclose the data, and spaces to indent the data. This element is used when defining controls that
+can be used by a view.
[Text Element for CustomItem (Format)](./text-element-for-customitem-for-customview-for-view-format.md)
-Specifies text that is added to the data that is displayed by the control, such as a label, brackets to enclose the data, and spaces to indent the data. This element is used when defining a custom control view.
+Specifies text that is added to the data that is displayed by the control, such as a label, brackets
+to enclose the data, and spaces to indent the data. This element is used when defining a custom
+control view.
[Text Element for CustomItem for GroupBy (Format)](./text-element-for-customitem-for-groupby-format.md)
-Specifies text that is added to the data that is displayed by the control, such as a label, brackets to enclose the data, and spaces to indent the data. This element is used when defining how a new group of objects is displayed.
+Specifies text that is added to the data that is displayed by the control, such as a label, brackets
+to enclose the data, and spaces to indent the data. This element is used when defining how a new
+group of objects is displayed.
[TypeName Element for EntrySelectedBy for Controls for Configuration (Format)](./typename-element-for-entryselectedby-for-controls-for-configuration-format.md)
-Specifies a .NET type that uses this definition of the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies a .NET type that uses this definition of the control. This element is used when defining a
+common control that can be used by all the views in the formatting file.
[TypeName Element for EntrySelectedBy for Controls for View (Format)](./typename-element-for-entryselectedby-for-controls-for-view-format.md)
-Specifies a .NET type that uses this definition of the control. This element is used when defining controls that can be used by a view.
+Specifies a .NET type that uses this definition of the control. This element is used when defining
+controls that can be used by a view.
[TypeName Element for EntrySelectedBy for CustomEntry for View (Format)](./typename-element-for-entryselectedby-for-customentry-for-view-format.md)
-Specifies a .NET type that uses this definition of the custom control view. There is no limit to the number of types that can be specified for a definition.
+Specifies a .NET type that uses this definition of the custom control view. There is no limit to the
+number of types that can be specified for a definition.
[TypeName Element for EntrySelectedBy for EnumerableExpansion (Format)](./typename-element-for-entryselectedby-for-enumerableexpansion-format.md)
-Specifies a .NET type that is expanded by this definition. This element is used when defining a default settings.
+Specifies a .NET type that is expanded by this definition. This element is used when defining a
+default settings.
[TypeName Element for EntrySelectedBy for GroupBy (Format)](./typename-element-for-entryselectedby-for-groupby-format.md)
-Specifies a .NET type that uses this definition of the custom control. This element is used when defining how a new group of objects is displayed.
+Specifies a .NET type that uses this definition of the custom control. This element is used when
+defining how a new group of objects is displayed.
[TypeName Element for EntrySelectedBy for ListControl (Format)](./typename-element-for-entryselectedby-for-listcontrol-format.md)
-Specifies a .NET type that uses this entry of the list view. There is no limit to the number of types that can be specified for a list entry.
+Specifies a .NET type that uses this entry of the list view. There is no limit to the number of
+types that can be specified for a list entry.
[TypeName Element for EntrySelectedBy for TableRowEntry (Format)](./typename-element-for-entryselectedby-for-tablecontrol-format.md)
-Specifies a .NET type that uses this entry of the table view. There is no limit to the number of types that can be specified for a table entry.
+Specifies a .NET type that uses this entry of the table view. There is no limit to the number of
+types that can be specified for a table entry.
[TypeName Element for EntrySelectedBy for WideEntry (Format)](./typename-element-for-entryselectedby-for-wideentry-format.md) Specifies a .NET type for the definition. The definition is used whenever this object is displayed. [TypeName Element for SelectionCondition for Controls for Configuration (Format)](./typename-element-for-selectioncondition-for-controls-for-configuration-format.md)
-Specifies a .NET type that triggers the condition. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies a .NET type that triggers the condition. This element is used when defining a common
+control that can be used by all the views in the formatting file.
[TypeName Element for SelectionCondition for Controls for View (Format)](./typename-element-for-selectioncondition-for-controls-for-view-format.md)
-Specifies a .NET type that triggers the condition. This element is used when defining controls that can be used by a view.
+Specifies a .NET type that triggers the condition. This element is used when defining controls that
+can be used by a view.
[TypeName Element for SelectionCondition for CustomControl for View (Format)](./typename-element-for-selectioncondition-for-customcontrol-for-view-format.md)
-Specifies a .NET type that triggers the condition. This element is used when defining a custom control view.
+Specifies a .NET type that triggers the condition. This element is used when defining a custom
+control view.
[TypeName Element for SelectionCondition for EntrySelectedBy for EnumerableExpansion (Format)](./typename-element-for-selectioncondition-for-entryselectedby-for-enumerableexpansion-format.md) Specifies a .NET type that triggers the condition. [TypeName Element for SelectionCondition for GroupBy (Format)](./typename-element-for-selectioncondition-for-groupby-format.md)
-Specifies a .NET type that triggers the condition. This element is used when defining how a new group of objects is displayed.
+Specifies a .NET type that triggers the condition. This element is used when defining how a new
+group of objects is displayed.
[TypeName Element for SelectionCondition for EntrySelectedBy for ListControl (Format)](./typename-element-for-selectioncondition-for-entryselectedby-for-listcontrol-format.md)
-Specifies a .NET type that triggers the condition. When this type is present, the list entry is used.
+Specifies a .NET type that triggers the condition. When this type is present, the list entry is
+used.
[TypeName Element for SelectionCondition for EntrySelectedBy for TableRowEntry (Format)](./typename-element-for-selectioncondition-for-entryselectedby-for-tablecontrol-format.md)
-Specifies a .NET type that triggers the condition. When this type is present, the condition is met, and the table row is used.
+Specifies a .NET type that triggers the condition. When this type is present, the condition is met,
+and the table row is used.
[TypeName Element for SelectionCondition for EntrySelectedBy for WideEntry (Format)](./typename-element-for-selectioncondition-for-entryselectedby-for-widecontrol-format.md)
-Specifies a .NET type that triggers the condition. When this type is present, the definition is used.
+Specifies a .NET type that triggers the condition. When this type is present, the definition is
+used.
[TypeName Element for Types (Format)](./typename-element-for-types-format.md) Specifies the .NET type of an object that belongs to the selection set.
Defines the views used to display objects.
[ViewSelectedBy Element (Format)](./viewselectedby-element-format.md) Defines the .NET objects that are displayed by the view.
-[WideControl Element (Format)](./widecontrol-element-format.md)
-Defines a wide (single value) list format for the view. This view displays a single property value or script value for each object.
+[WideControl Element (Format)](./widecontrol-element-format.md) Defines a wide (single value) list
+format for the view. This view displays a single property value or script value for each object.
-[WideEntries Element (Format)](./wideentries-element-for-widecontrol-format.md)
-Provides the definitions of the wide view. The wide view must specify one or more definitions.
+[WideEntries Element (Format)](./wideentries-element-for-widecontrol-format.md) Provides the
+definitions of the wide view. The wide view must specify one or more definitions.
[WideEntry Element (Format)](./wideentry-element-for-widecontrol-format.md) Provides a definition of the wide view.
Defines the width (in characters) of a column.
[Wrap Element (Format)](./wrap-element-for-tablerowentry-for-tablecontrol-format.md) Specifies that text that exceeds the column width is displayed on the next line.
-[WrapTables Element (Format)](./wraptables-element-format.md)
-Specifies that data in a table cell is moved to the next line if the data is longer than the width of the column.
+[WrapTables Element (Format)](./wraptables-element-format.md) Specifies that data in a table cell is
+moved to the next line if the data is longer than the width of the column.
## See Also
developer Formatstring Element For Listitem For Listcontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/formatstring-element-for-listitem-for-listcontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FormatString Element for ListItem for ListControl (Format)
-description: FormatString Element for ListItem for ListControl (Format)
+ Title: FormatString Element for ListItem for ListControl
+description: FormatString Element for ListItem for ListControl
---
-# FormatString Element for ListItem for ListControl (Format)
+# FormatString Element for ListItem for ListControl
Specifies a format pattern that defines how the property or script value is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-ListControl Element (Format)
-ListEntries Element for ListControl (Format)
-ListEntry Element for ListControl (Format)
-ListItems Element for ListControl (Format)
-ListItem Element for ListControl (Format)
-FormatString Element for ListItem for ListControl (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- ListControl Element
+- ListEntries Element
+- ListEntry Element
+- ListItems Element
+- ListItem Element
+- FormatString Element
## Syntax
FormatString Element for ListItem for ListControl (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and the parent element of the `FormatString` element.
+The following sections describe the attributes, child elements, and the parent element of the
+`FormatString` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[ListItem Element (Format)](./listitem-element-for-listitems-for-listcontrol-format.md)|Defines the property or script whose value is displayed in a row of the list view.|
+|[ListItem Element](./listitem-element-for-listitems-for-listcontrol-format.md)|Defines the property or script whose value is displayed in a row of the list view.|
## Text Value
-Specify the pattern that is used to format the data. For example, you can use this pattern to format the value of any property that is of type [System.Timespan](/dotnet/api/System.TimeSpan): {0:MMM}{0:dd}{0:HH}:{0:mm}.
+Specify the pattern that is used to format the data. For example, you can use this pattern to format
+the value of any property that is of type [System.Timespan](/dotnet/api/System.TimeSpan):
+{0:MMM}{0:dd}{0:HH}:{0:mm}.
## Remarks
-Format strings can be used when creating table views, list views, wide views, or custom views. For more information about formatting a value displayed in a view, see [Formatting Displayed Data](./formatting-displayed-data.md).
+Format strings can be used when creating table views, list views, wide views, or custom views. For
+more information about formatting a value displayed in a view, see [Formatting Displayed Data](./formatting-displayed-data.md).
For more information about using format strings in list views, see [Creating List View](./creating-a-list-view.md). ## Example
-The following example shows how to define a formatting string for the value of the `StartTime` property.
+The following example shows how to define a formatting string for the value of the `StartTime`
+property.
```xml <ListItem>
The following example shows how to define a formatting string for the value of t
[Creating a List View](./creating-a-list-view.md)
-[ListItem Element (Format)](./listitem-element-for-listitems-for-listcontrol-format.md)
+[ListItem Element](./listitem-element-for-listitems-for-listcontrol-format.md)
[Writing a Windows PowerShell Formatting and Types File](./writing-a-powershell-formatting-file.md)
developer Formatstring Element For Tablecolumnitem For Tablecontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/formatstring-element-for-tablecolumnitem-for-tablecontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FormatString Element for TableColumnItem for TableControl (Format)
-description: FormatString Element for TableColumnItem for TableControl (Format)
+ Title: FormatString Element for TableColumnItem for TableControl
+description: FormatString Element for TableColumnItem for TableControl
---
-# FormatString Element for TableColumnItem for TableControl (Format)
+# FormatString Element for TableColumnItem for TableControl
Specifies a format pattern that defines how the property or script value of the table is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-TableControl Element (Format)
-TableRowEntries Element (Format)
-TableRowEntry Element (Format)
-TableColumnItems Element (Format)
-TableColumnItem Element (Format)
-FormatString Element for TableColumnItem (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- TableControl Element
+- TableRowEntries Element
+- TableRowEntry Element
+- TableColumnItems Element
+- TableColumnItem Element
+- FormatString Element
## Syntax
FormatString Element for TableColumnItem (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `FormatString` element.
+The following sections describe attributes, child elements, and the parent element of the
+`FormatString` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[TableColumnItem Element (Format)](./tablecolumnitem-element-for-tablecolumnitems-for-tablecontrol-format.md)|Defines the property or script whose value is displayed in the column of the row.|
+|[TableColumnItem Element](./tablecolumnitem-element-for-tablecolumnitems-for-tablecontrol-format.md)|Defines the property or script whose value is displayed in the column of the row.|
## Text Value
-Specify the pattern that is used to format the data. For example, this pattern can be used to format the value of any property that is of type [System.Timespan](/dotnet/api/System.TimeSpan): {0:MMM}{0:dd}{0:HH}:{0:mm}.
+Specify the pattern that is used to format the data. For example, this pattern can be used to format
+the value of any property that is of type [System.Timespan](/dotnet/api/System.TimeSpan):
+{0:MMM}{0:dd}{0:HH}:{0:mm}.
## Remarks
-Format strings can be used when creating table views, list views, wide views, or custom views. For more information about formatting a value displayed in a view, see [Formatting Displayed Data](./formatting-displayed-data.md).
+Format strings can be used when creating table views, list views, wide views, or custom views. For
+more information about formatting a value displayed in a view, see [Formatting Displayed Data](./formatting-displayed-data.md).
For more information about the components of a table view, see [Table View](./creating-a-table-view.md). ## Example
-The following example shows how to define a formatting string for the value of the `StartTime` property.
+The following example shows how to define a formatting string for the value of the `StartTime`
+property.
```xml <TableColumnItem>
The following example shows how to define a formatting string for the value of t
[Formatting Displayed Data](./formatting-displayed-data.md)
-[TableColumnItem Element (Format)](./tablecolumnitem-element-for-tablecolumnitems-for-tablecontrol-format.md)
+[TableColumnItem Element](./tablecolumnitem-element-for-tablecolumnitems-for-tablecontrol-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Formatstring Element For Wideitem For Widecontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/formatstring-element-for-wideitem-for-widecontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: FormatString Element for WideItem for WideControl (Format)
-description: FormatString Element for WideItem for WideControl (Format)
+ Title: FormatString Element for WideItem
+description: FormatString Element for WideItem
---
-# FormatString Element for WideItem for WideControl (Format)
+# FormatString Element for WideItem
Specifies a format pattern that defines how the property or script value is displayed in the view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-WideControl Element (Format)
-WideEntries Element (Format)
-WideEntry Element for WideControl (Format)
-WideItem Element for WideControl (Format)
-FormatString Element for WideItem for WideControl (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- WideControl Element
+- WideEntries Element
+- WideEntry Element
+- WideItem Element
+- FormatString Element
## Syntax
FormatString Element for WideItem for WideControl (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and the parent element of the `FormatString` element.
+The following sections describe the attributes, child elements, and the parent element of the
+`FormatString` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[WideItem Element for WideControl (Format)](./wideitem-element-for-widecontrol-format.md)|Defines the property or script whose value is displayed in a row of the list view.|
+|[WideItem Element for WideControl](./wideitem-element-for-widecontrol-format.md)|Defines the property or script whose value is displayed in a row of the list view.|
## Text Value
-Specify the pattern that is used to format the data. For example, you can use this pattern to format the value of any property that is of type [System.Timespan](/dotnet/api/System.TimeSpan): {0:MMM}{0:dd}{0:HH}:{0:mm}.
+Specify the pattern that is used to format the data. For example, you can use this pattern to format
+the value of any property that is of type [System.Timespan](/dotnet/api/System.TimeSpan):
+{0:MMM}{0:dd}{0:HH}:{0:mm}.
## Remarks
-Format strings can be used when creating table views, list views, wide views, or custom views. For more information about formatting a value displayed in a view, see [Formatting Displayed Data](./formatting-displayed-data.md).
+Format strings can be used when creating table views, list views, wide views, or custom views. For
+more information about formatting a value displayed in a view, see [Formatting Displayed Data](./formatting-displayed-data.md).
For more information about using format strings in wide views, see [Creating a Wide View](./creating-a-wide-view.md). ## Example
-The following example shows how to define a formatting string for the value of the `StartTime` property.
+The following example shows how to define a formatting string for the value of the `StartTime`
+property.
```xml <WideItem>
The following example shows how to define a formatting string for the value of t
[Creating a Wide View](./creating-a-wide-view.md)
-[WideItem Element for WideControl (Format)](./wideitem-element-for-widecontrol-format.md)
+[WideItem Element for WideControl](./wideitem-element-for-widecontrol-format.md)
[Writing a Windows PowerShell Formatting and Types File](./writing-a-powershell-formatting-file.md)
developer Formatting Displayed Data https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/formatting-displayed-data.md
--- Previously updated : 09/12/2016 Last updated : 08/23/2021 Title: Formatting Displayed Data description: Formatting Displayed Data --- # Formatting Displayed Data
-You can specify how the individual data points in your List, Table, or Wide view are displayed. You can use the `FormatString` element when defining the items of your view, or you can use the `ScriptBlock` element to call the `FormatString` method on the data.
+You can specify how the individual data points in your List, Table, or Wide view are displayed. You
+can use the `FormatString` element when defining the items of your view, or you can use the
+`ScriptBlock` element to call the `FormatString` method on the data.
## Using the FormatString Element
-In the following example the value of the `TotalProcessorTime` property of the [System.Diagnostics.Process](/dotnet/api/System.Diagnostics.Process) object is formatted using the FormatString element. the `TotalProcessorTime` property
+In the following example the value of the `TotalProcessorTime` property of the [System.Diagnostics.Process](/dotnet/api/System.Diagnostics.Process)
+object is formatted using the FormatString element. the `TotalProcessorTime` property
``` <TableColumnItem>
developer Formatting File Concepts https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/formatting-file-concepts.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Formatting File Concepts description: Formatting File Concepts --- # Formatting File Concepts
-The topics in this section provide information that you might need to know when creating your own formatting files, such as the different types of views that you can define and the special components of those views.
+The topics in this section provide information that you might need to know when creating your own
+formatting files, such as the different types of views that you can define and the special
+components of those views.
## In This Section
Provides an example of a custom control.
[Defining Selection Sets](./defining-selection-sets.md) Provides information, an example, and describes the XML elements used to create a selection set.
-[Defining Conditions for Displaying Data](./defining-conditions-for-displaying-data.md)
-When defining what data is displayed by a view or a control, you can specify a condition that must exist for the data to be displayed.
+[Defining Conditions for Displaying Data](./defining-conditions-for-displaying-data.md) When
+defining what data is displayed by a view or a control, you can specify a condition that must exist
+for the data to be displayed.
[Formatting Displayed Data](./formatting-displayed-data.md) You can specify how the individual data points in your List, Table, or Wide view are displayed.
developer Formatting File Overview https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/formatting-file-overview.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Formatting File Overview description: Formatting File Overview --- # Formatting File Overview
-The display format for the objects that are returned by commands (cmdlets, functions, and scripts) are defined by using formatting files (format.ps1xml files). Several of these files are provided by PowerShell to define the display format for those objects returned by PowerShell-provided commands, such as the [System.Diagnostics.Process](/dotnet/api/System.Diagnostics.Process) object returned by the `Get-Process` cmdlet. However, you can also create your own custom formatting files to overwrite the default display formats or you can write a custom formatting file to define the display of objects returned by your own commands.
+The display format for the objects that are returned by commands (cmdlets, functions, and scripts)
+are defined by using formatting files (format.ps1xml files). Several of these files are provided by
+PowerShell to define the display format for those objects returned by PowerShell-provided commands,
+such as the [System.Diagnostics.Process](/dotnet/api/System.Diagnostics.Process) object returned by
+the `Get-Process` cmdlet. However, you can also create your own custom formatting files to overwrite
+the default display formats or you can write a custom formatting file to define the display of
+objects returned by your own commands.
> [!IMPORTANT]
-> Formatting files do not determine the elements of an object that are returned to the pipeline. When an object is returned to the pipeline, all members of that object are available even if some are not displayed.
-
-PowerShell uses the data in these formatting files to determine what is displayed and how the displayed data is formatted. The displayed data can include the properties of an object or the value of a script. Scripts are used if you want to display some value that is not available directly from the properties of an object, such as adding the value of two properties of an object and then displaying the sum as a piece of data. Formatting of the displayed data is done by defining views for the objects that you want to display. You can define a single view for each object, you can define a single view for multiple objects, or you can define multiple views for the same object. There is no limit to the number of views that you can define.
+> Formatting files do not determine the elements of an object that are returned to the pipeline.
+> When an object is returned to the pipeline, all members of that object are available even if some
+> are not displayed.
+
+PowerShell uses the data in these formatting files to determine what is displayed and how the
+displayed data is formatted. The displayed data can include the properties of an object or the value
+of a script. Scripts are used if you want to display some value that is not available directly from
+the properties of an object, such as adding the value of two properties of an object and then
+displaying the sum as a piece of data. Formatting of the displayed data is done by defining views
+for the objects that you want to display. You can define a single view for each object, you can
+define a single view for multiple objects, or you can define multiple views for the same object.
+There is no limit to the number of views that you can define.
## Common Features of Formatting Files
-Each formatting file can define the following components that can be shared across all the views defined by the file:
+Each formatting file can define the following components that can be shared across all the views
+defined by the file:
-- Default configuration setting, such as whether the data displayed in the rows of tables will be displayed on the next line if the data is longer than the width of the column. For more information about these settings, see [Defining Common Configuration Settings](./defining-common-configuration-features.md).
+- Default configuration setting, such as whether the data displayed in the rows of tables will be
+ displayed on the next line if the data is longer than the width of the column. For more
+ information about these settings, see [Defining Common Configuration Settings](./defining-common-configuration-features.md).
-- Sets of objects that can be displayed by any of the views of the formatting file. For more information about these sets (referred to as *selection sets*), see [Defining Sets of Objects](./defining-selection-sets.md).
+- Sets of objects that can be displayed by any of the views of the formatting file. For more
+ information about these sets (referred to as **selection sets**), see [Defining Sets of Objects](./defining-selection-sets.md).
-- Common controls that can be used by all the views of the formatting file. Controls give you finer control on how data is displayed. For more information about controls, see [Defining Custom Controls](./creating-custom-controls.md).
+- Common controls that can be used by all the views of the formatting file. Controls give you finer
+ control on how data is displayed. For more information about controls, see [Defining Custom Controls](./creating-custom-controls.md).
## Formatting Views
-Formatting views can display objects in a table format, list format, wide format, and custom format. For the most part, each formatting definition is described by a set of XML tags that describe the view. Each view contains the name of the view, the objects that use the view, and the elements of the view, such as the column and row information for a table view.
+Formatting views can display objects in a table format, list format, wide format, and custom format.
+For the most part, each formatting definition is described by a set of XML tags that describe the
+view. Each view contains the name of the view, the objects that use the view, and the elements of
+the view, such as the column and row information for a table view.
+
+### Table View
+
+Lists the properties of an object or a script block value in one or more columns. Each
+column represents a single property of the object or a script value. You can define a table view
+that displays all the properties of an object, a subset of the properties of an object, or a
+combination of properties and script values. Each row of the table represents a returned object.
+Creating a table view is very similar to when you pipe an object to the `Format-Table` cmdlet. For
+more information about this view, see [Table View](./creating-a-table-view.md).
+
+### List View
+
+Lists the properties of an object or a script value in a single column. Each row of the
+list displays an optional label or the property name followed by the value of the property or
+script. Creating a list view is very similar to piping an object to the `Format-List` cmdlet. For
+more information about this view, see [List View](./creating-a-list-view.md).
-Table View
-Lists the properties of an object or a script block value in one or more columns. Each column represents a single property of the object or a script value. You can define a table view that displays all the properties of an object, a subset of the properties of an object, or a combination of properties and script values. Each row of the table represents a returned object. Creating a table view is very similar to when you pipe an object to the `Format-Table` cmdlet. For more information about this view, see [Table View](./creating-a-table-view.md).
+### Wide View
-List View
-Lists the properties of an object or a script value in a single column. Each row of the list displays an optional label or the property name followed by the value of the property or script. Creating a list view is very similar to piping an object to the `Format-List` cmdlet. For more information about this view, see [List View](./creating-a-list-view.md).
+Lists a single property of an object or a script value in one or more columns. There is no label or
+header for this view. Creating a wide view is very similar to piping an object to the `Format-Wide`
+cmdlet. For more information about this view, see [Wide View](./creating-a-wide-view.md).
-Wide View
-Lists a single property of an object or a script value in one or more columns. There is no label or header for this view. Creating a wide view is very similar to piping an object to the `Format-Wide` cmdlet. For more information about this view, see [Wide View](./creating-a-wide-view.md).
+### Custom View
-Custom View
-Displays a customizable view of object properties or script values that does not adhere to the rigid structure of table views, list views, or wide views. You can define a stand-alone custom view, or you can define a custom view that is used by another view, such as a table view or list view. Creating a custom view is very similar to piping an object to the `Format-Custom` cmdlet. For more information about this view, see [Custom View](./creating-custom-controls.md).
+Displays a customizable view of object properties or script values that does not adhere to the rigid
+structure of table views, list views, or wide views. You can define a stand-alone custom view, or
+you can define a custom view that is used by another view, such as a table view or list view.
+Creating a custom view is very similar to piping an object to the `Format-Custom` cmdlet. For more
+information about this view, see [Custom View](./creating-custom-controls.md).
## Components of a View
-The following XML examples show the basic XML components of a view. The individual XML elements vary depending on which view you want to create, but the basic components of the views are all the same.
+The following XML examples show the basic XML components of a view. The individual XML elements vary
+depending on which view you want to create, but the basic components of the views are all the same.
-To start with, each view has a `Name` element that specifies a user friendly name that is used to reference the view. a `ViewSelectedBy` element that defines which .NET objects are displayed by the view, and a *control* element that defines the view.
+To start with, each view has a `Name` element that specifies a user friendly name that is used to
+reference the view. a `ViewSelectedBy` element that defines which .NET objects are displayed by the
+view, and a **control** element that defines the view.
```xml <ViewDefinitions>
To start with, each view has a `Name` element that specifies a user friendly nam
```
-Within the control element, you can define one or more *entry* elements. If you use multiple definitions, you must specify which .NET objects use each definition. Typically only one entry, with only one definition, is needed for each control.
+Within the control element, you can define one or more **entry** elements. If you use multiple
+definitions, you must specify which .NET objects use each definition. Typically only one entry, with
+only one definition, is needed for each control.
```xml <ListControl>
Within the control element, you can define one or more *entry* elements. If you
```
-Within each entry element of a view, you specify the *item* elements that define the .NET properties or scripts that are displayed by that view.
+Within each entry element of a view, you specify the **item** elements that define the .NET
+properties or scripts that are displayed by that view.
```xml
Within each entry element of a view, you specify the *item* elements that define
```
-As shown in the preceding examples, the formatting file can contain multiple views, a view can contain multiple definitions, and each definition can contain multiple items.
+As shown in the preceding examples, the formatting file can contain multiple views, a view can
+contain multiple definitions, and each definition can contain multiple items.
## Example of a Table View
-The following example shows the XML tags used to define a table view that contains two columns. The [ViewDefinitions](./viewdefinitions-element-format.md) element is the container element for all the views defined in the formatting file. The [View](./view-element-format.md) element defines the specific table, list, wide, or custom view. Within each [View](./view-element-format.md) element, the [Name](./name-element-for-view-format.md) element specifies the name of the view, the [ViewSelectedBy](./viewselectedby-element-format.md) element defines the objects that use the view, and the different control elements (such as the `TableControl` element shown in the following example) define the type of the view.
+The following example shows the XML tags used to define a table view that contains two columns. The [ViewDefinitions](./viewdefinitions-element-format.md)
+element is the container element for all the views defined in the formatting file. The [View](./view-element-format.md)
+element defines the specific table, list, wide, or custom view. Within each [View](./view-element-format.md)
+element, the [Name](./name-element-for-view-format.md) element specifies the name of the view, the [ViewSelectedBy](./viewselectedby-element-format.md)
+element defines the objects that use the view, and the different control elements (such as the
+`TableControl` element shown in the following example) define the type of the view.
```xml <ViewDefinitions>
developer Frame Element For Customitem For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/frame-element-for-customitem-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Frame Element for CustomItem for Controls for Configuration (Format)
-description: Frame Element for CustomItem for Controls for Configuration (Format)
+ Title: Frame Element for CustomItem for Controls for Configuration
+description: Frame Element for CustomItem for Controls for Configuration
---
-# Frame Element for CustomItem for Controls for Configuration (Format)
+# Frame Element for CustomItem for Controls for Configuration
-Defines how the data is displayed, such as shifting the data to the left or right. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines how the data is displayed, such as shifting the data to the left or right. This element is
+used when defining a common control that can be used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-CustomControl Element for Control for Configuration (Format)
-CustomEntries Element for CustomControl for Configuration (Format)
-CustomEntry Element for CustomControl for Controls for Configuration (Format)
-CustomItem Element for CustomEntry for Controls for Configuration
-Frame Element for CustomItem for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
## Syntax
Frame Element for CustomItem for Controls for Configuration (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `Frame` element.
+The following sections describe attributes, child elements, and the parent element of the `Frame`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------| |`CustomItem Element`|Required Element|
-|[FirstLineHanging Element for Frame for Controls for Configuration (Format)](./firstlinehanging-element-for-frame-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies how many characters the first line of data is shifted to the left.|
-|[FirstLineIndent Element for Frame for Controls for Configuration (Format)](./firstlineindent-element-for-frame-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies how many characters the first line of data is shifted to the right.|
-|[LeftIndent Element for Frame for Controls for Configuration (Format)](./leftindent-element-for-frame-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the left margin.|
-|[RightIndent Element for Frame for Controls for Configuration (Format)](./rightindent-element-for-frame-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the right margin.|
+|[FirstLineHanging Element for Frame for Controls for Configuration](./firstlinehanging-element-for-frame-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies how many characters the first line of data is shifted to the left.|
+|[FirstLineIndent Element for Frame for Controls for Configuration](./firstlineindent-element-for-frame-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies how many characters the first line of data is shifted to the right.|
+|[LeftIndent Element for Frame for Controls for Configuration](./leftindent-element-for-frame-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the left margin.|
+|[RightIndent Element for Frame for Controls for Configuration](./rightindent-element-for-frame-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the right margin.|
### Parent Elements
You cannot specify the [FirstLineHanging](./firstlinehanging-element-for-frame-f
## See Also
-[FirstLineHanging Element for Frame for Controls for Configuration (Format)](./firstlinehanging-element-for-frame-for-controls-for-configuration-format.md)
+[FirstLineHanging Element for Frame for Controls for Configuration](./firstlinehanging-element-for-frame-for-controls-for-configuration-format.md)
-[FirstLineIndent Element for Frame for Controls for Configuration (Format)](./firstlineindent-element-for-frame-for-controls-for-configuration-format.md)
+[FirstLineIndent Element for Frame for Controls for Configuration](./firstlineindent-element-for-frame-for-controls-for-configuration-format.md)
-[LeftIndent Element for Frame for Controls for Configuration (Format)](./leftindent-element-for-frame-for-controls-for-configuration-format.md)
+[LeftIndent Element for Frame for Controls for Configuration](./leftindent-element-for-frame-for-controls-for-configuration-format.md)
-[RightIndent Element for Frame for Controls for Configuration (Format)](./rightindent-element-for-frame-for-controls-for-configuration-format.md)
+[RightIndent Element for Frame for Controls for Configuration](./rightindent-element-for-frame-for-controls-for-configuration-format.md)
[CustomItem Element for CustomEntry for Controls for Configuration](./customitem-element-for-customentry-for-controls-for-configuration-format.md)
developer Frame Element For Customitem For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/frame-element-for-customitem-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Frame Element for CustomItem for Controls for View (Format)
-description: Frame Element for CustomItem for Controls for View (Format)
+ Title: Frame Element for CustomItem for Controls for View
+description: Frame Element for CustomItem for Controls for View
---
-# Frame Element for CustomItem for Controls for View (Format)
+# Frame Element for CustomItem for Controls for View
-Defines how the data is displayed, such as shifting the data to the left or right. This element is used when defining controls that can be used by a view.
+Defines how the data is displayed, such as shifting the data to the left or right. This element is
+used when defining controls that can be used by a view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-CustomControl Element for Control for Controls for View (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for Controls for View (Format)
-CustomItem Element for CustomEntry for Controls for View (Format)
-Frame Element for CustomItem for Controls for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
## Syntax
Frame Element for CustomItem for Controls for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `Frame` element.
+The following sections describe attributes, child elements, and the parent element of the `Frame`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------| |`CustomItem Element`|Required Element|
-|[FirstLineHanging Element of Frame of Controls of View (Format)](./firstlinehanging-element-for-frame-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies how many characters the first line is shifted to the left.|
-|[FirstLineIndent Element of Frame of Controls of View (Format)](./firstlineindent-element-for-frame-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies how many characters the first line is shifted to the right.|
-|[LeftIndent Element of Frame of Controls of View (Format)](./leftindent-element-for-frame-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the left margin.|
-|[RightIndent Element of Frame of Controls of View (Format)](./rightindent-element-for-frame-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the right margin.|
+|[FirstLineHanging Element of Frame of Controls of View](./firstlinehanging-element-for-frame-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies how many characters the first line is shifted to the left.|
+|[FirstLineIndent Element of Frame of Controls of View](./firstlineindent-element-for-frame-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies how many characters the first line is shifted to the right.|
+|[LeftIndent Element of Frame of Controls of View](./leftindent-element-for-frame-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the left margin.|
+|[RightIndent Element of Frame of Controls of View](./rightindent-element-for-frame-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the right margin.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[CustomItem Element for CustomEntry for Controls for View (Format)](./customitem-element-for-customentry-for-controls-for-view-format.md)|Defines what data is displayed by the control and how it is displayed.|
+|[CustomItem Element for CustomEntry for Controls for View](./customitem-element-for-customentry-for-controls-for-view-format.md)|Defines what data is displayed by the control and how it is displayed.|
## Remarks
You cannot specify the [FirstLineHanging](./firstlinehanging-element-for-frame-f
## See Also
-[FirstLineHanging Element of Frame of Controls of View (Format)](./firstlinehanging-element-for-frame-for-controls-for-view-format.md)
+[FirstLineHanging Element of Frame of Controls of View](./firstlinehanging-element-for-frame-for-controls-for-view-format.md)
-[FirstLineIndent Element of Frame of Controls of View (Format)](./firstlineindent-element-for-frame-for-controls-for-view-format.md)
+[FirstLineIndent Element of Frame of Controls of View](./firstlineindent-element-for-frame-for-controls-for-view-format.md)
-[LeftIndent Element of Frame of Controls of View (Format)](./leftindent-element-for-frame-for-controls-for-view-format.md)
+[LeftIndent Element of Frame of Controls of View](./leftindent-element-for-frame-for-controls-for-view-format.md)
-[RightIndent Element of Frame of Controls of View (Format)](./rightindent-element-for-frame-for-controls-for-view-format.md)
+[RightIndent Element of Frame of Controls of View](./rightindent-element-for-frame-for-controls-for-view-format.md)
-[CustomItem Element for CustomEntry for Controls for View (Format)](./customitem-element-for-customentry-for-controls-for-view-format.md)
+[CustomItem Element for CustomEntry for Controls for View](./customitem-element-for-customentry-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Frame Element For Customitem For Customcontrol For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/frame-element-for-customitem-for-customcontrol-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Frame Element for CustomItem for CustomControl for View (Format)
-description: Frame Element for CustomItem for CustomControl for View (Format)
+ Title: Frame Element for CustomItem for CustomControl for View
+description: Frame Element for CustomItem for CustomControl for View
---
-# Frame Element for CustomItem for CustomControl for View (Format)
+# Frame Element for CustomItem for CustomControl for View
-Defines how the data is displayed, such as shifting the data to the left or right. This element is used when defining a custom control view.
+Defines how the data is displayed, such as shifting the data to the left or right. This element is
+used when defining a custom control view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-CustomControl Element (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for View (Format)
-CustomItem Element for CustomEntry for CustomControlView (Format)
-Frame Element for CustomItem for CustomControl for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
## Syntax
Frame Element for CustomItem for CustomControl for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `Frame` element.
+The following sections describe attributes, child elements, and the parent element of the `Frame`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[CustomItem Element for CustomEntry for View (Format)](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)|Defines what data is displayed by the control and how it is displayed.|
+|[CustomItem Element for CustomEntry for View](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)|Defines what data is displayed by the control and how it is displayed.|
## Remarks
You cannot specify the [FirstLineHanging](./firstlinehanging-element-for-frame-f
[RightIndent Element](./rightindent-element-for-frame-for-customcontrol-for-view-format.md)
-[CustomItem Element for CustomEntry for View (Format)](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)
+[CustomItem Element for CustomEntry for View](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Frame Element For Customitem For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/frame-element-for-customitem-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Frame Element for CustomItem for GroupBy (Format)
-description: Frame Element for CustomItem for GroupBy (Format)
+ Title: Frame Element for CustomItem for GroupBy
+description: Frame Element for CustomItem for GroupBy
---
-# Frame Element for CustomItem for GroupBy (Format)
+# Frame Element for CustomItem for GroupBy
-Defines how the data is displayed, such as shifting the data to the left or right. This element is used when defining how a new group of objects is displayed.
+Defines how the data is displayed, such as shifting the data to the left or right. This element is
+used when defining how a new group of objects is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-CustomControl Element for GroupBy (Format)
-CustomEntries Element for CustomControl for GroupBy (Format)
-CustomEntry Element for CustomControl for GroupBy (Format)
-CustomItem Element for CustomEntry for GroupBy (Format)
-Frame Element for CustomItem for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
## Syntax
Frame Element for CustomItem for GroupBy (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `Frame` element.
+The following sections describe attributes, child elements, and the parent element of the `Frame`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------| |`CustomItem Element`|Required Element|
-|[FirstLineHanging Element for Frame for GroupBy (Format)](./firstlinehanging-element-for-frame-for-groupby-format.md)|Optional element.<br /><br /> Specifies how many characters the first line of data is shifted to the left.|
-|[FirstLineIndent Element for Frame for GroupBy (Format)](./firstlineindent-element-for-frame-for-groupby-format.md)|Optional element.<br /><br /> Specifies how many characters the first line of data is shifted to the right.|
-|[LeftIndent Element for Frame for GroupBy (Format)](./leftindent-element-for-frame-for-groupby-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the left margin.|
-|[RightIndent Element for Frame for GroupBy (Format)](./rightindent-element-for-frame-for-groupby-format.md)RightIndent Element|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the right margin.|
+|[FirstLineHanging Element for Frame for GroupBy](./firstlinehanging-element-for-frame-for-groupby-format.md)|Optional element.<br /><br /> Specifies how many characters the first line of data is shifted to the left.|
+|[FirstLineIndent Element for Frame for GroupBy](./firstlineindent-element-for-frame-for-groupby-format.md)|Optional element.<br /><br /> Specifies how many characters the first line of data is shifted to the right.|
+|[LeftIndent Element for Frame for GroupBy](./leftindent-element-for-frame-for-groupby-format.md)|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the left margin.|
+|[RightIndent Element for Frame for GroupBy](./rightindent-element-for-frame-for-groupby-format.md)RightIndent Element|Optional element.<br /><br /> Specifies how many characters the data is shifted away from the right margin.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[CustomItem Element for CustomEntry for GroupBy (Format)](./customitem-element-for-customentry-for-groupby-format.md)|Defines what data is displayed by the control and how it is displayed.|
+|[CustomItem Element for CustomEntry for GroupBy](./customitem-element-for-customentry-for-groupby-format.md)|Defines what data is displayed by the control and how it is displayed.|
## Remarks
You cannot specify the [FirstLineHanging](./firstlinehanging-element-for-frame-f
## See Also
-[FirstLineHanging Element for Frame for GroupBy (Format)](./firstlinehanging-element-for-frame-for-groupby-format.md)
+[FirstLineHanging Element for Frame for GroupBy](./firstlinehanging-element-for-frame-for-groupby-format.md)
-[FirstLineIndent Element for Frame for GroupBy (Format)](./firstlineindent-element-for-frame-for-groupby-format.md)
+[FirstLineIndent Element for Frame for GroupBy](./firstlineindent-element-for-frame-for-groupby-format.md)
-[LeftIndent Element for Frame for GroupBy (Format)](./leftindent-element-for-frame-for-groupby-format.md)
+[LeftIndent Element for Frame for GroupBy](./leftindent-element-for-frame-for-groupby-format.md)
-[RightIndent Element for Frame for GroupBy (Format)](./rightindent-element-for-frame-for-groupby-format.md)
+[RightIndent Element for Frame for GroupBy](./rightindent-element-for-frame-for-groupby-format.md)
-[CustomItem Element for CustomEntry for GroupBy (Format)](./customitem-element-for-customentry-for-groupby-format.md)
+[CustomItem Element for CustomEntry for GroupBy](./customitem-element-for-customentry-for-groupby-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Groupby Element For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/groupby-element-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: GroupBy Element for View (Format)
-description: GroupBy Element for View (Format)
+ Title: GroupBy Element
+description: GroupBy Element
---
-# GroupBy Element for View (Format)
+# GroupBy Element for View
-Defines how a new group of objects is displayed. This element is used when defining a table, list, wide, or custom control view.
+Defines how a new group of objects is displayed. This element is used when defining a table, list,
+wide, or custom control view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element
## Syntax
None.
|Element|Description| |-------------|-----------------|
-|[CustomControl Element for GroupBy (Format)](./customcontrol-element-for-groupby-format.md)|Optional element.<br /><br /> Defines the custom control that display new groups.|
-|[CustomControlName Element for GroupBy (Format)](./customcontrolname-element-for-groupby-format.md)|Optional element.<br /><br /> Specifies the name of a control that is used to display the new group.|
-|[Label Element for GroupBy (Format)](./label-element-for-groupby-format.md)|Optional element.<br /><br /> Specifies a label that is displayed when a new group is encountered.|
-|[PropertyName Element for GroupBy (Format)](./propertyname-element-for-groupby-format.md)|Optional element.<br /><br /> Specifies the .NET property the starts a new group whenever its value changes.|
-|[ScriptBlock Element for GroupBy (Format)](./scriptblock-element-for-groupby-format.md)|Optional element.<br /><br /> Specifies the script that starts a new group whenever its value changes.|
+|[CustomControl Element for GroupBy](./customcontrol-element-for-groupby-format.md)|Optional element.<br /><br /> Defines the custom control that display new groups.|
+|[CustomControlName Element for GroupBy](./customcontrolname-element-for-groupby-format.md)|Optional element.<br /><br /> Specifies the name of a control that is used to display the new group.|
+|[Label Element for GroupBy](./label-element-for-groupby-format.md)|Optional element.<br /><br /> Specifies a label that is displayed when a new group is encountered.|
+|[PropertyName Element for GroupBy](./propertyname-element-for-groupby-format.md)|Optional element.<br /><br /> Specifies the .NET property the starts a new group whenever its value changes.|
+|[ScriptBlock Element for GroupBy](./scriptblock-element-for-groupby-format.md)|Optional element.<br /><br /> Specifies the script that starts a new group whenever its value changes.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[View Element (Format)](./view-element-format.md)|Defines a view that displays one or more .NET objects.|
+|[View Element](./view-element-format.md)|Defines a view that displays one or more .NET objects.|
## Remarks
-When defining how a new group of objects is displayed, you must specify the property or script that will start the new group; however, you cannot specify both.
+When defining how a new group of objects is displayed, you must specify the property or script that
+will start the new group; however, you cannot specify both.
## See Also
-[CustomControlName Element for GroupBy (Format)](./customcontrolname-element-for-groupby-format.md)
+[CustomControlName Element for GroupBy](./customcontrolname-element-for-groupby-format.md)
-[Label Element for GroupBy (Format)](./label-element-for-groupby-format.md)
+[Label Element for GroupBy](./label-element-for-groupby-format.md)
-[PropertyName Element for GroupBy (Format)](./propertyname-element-for-groupby-format.md)
+[PropertyName Element for GroupBy](./propertyname-element-for-groupby-format.md)
-[ScriptBlock Element for GroupBy (Format)](./scriptblock-element-for-groupby-format.md)
+[ScriptBlock Element for GroupBy](./scriptblock-element-for-groupby-format.md)
-[View Element (Format)](./view-element-format.md)
+[View Element](./view-element-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Hidetableheaders Element Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/hidetableheaders-element-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: HideTableHeaders Element (Format)
-description: HideTableHeaders Element (Format)
+ Title: HideTableHeaders Element
+description: HideTableHeaders Element
---
-# HideTableHeaders Element (Format)
+# HideTableHeaders Element
Specifies that the headers of the table are not displayed.
-ViewDefinitions Element (Format)
-View Element (Format)
-TableControl Element (Format)
-HideTableHeaders Element for TableControl (Format)
+## Schema
+
+- ViewDefinitions Element
+- View Element
+- TableControl Element
+- HideTableHeaders Element
## Syntax
HideTableHeaders Element for TableControl (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and parent element of the `HideTableHeaders` element.
+The following sections describe the attributes, child elements, and parent element of the
+`HideTableHeaders` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[TableControl Element (Format)](./tablecontrol-element-format.md)|Defines a table format for a view.|
+|[TableControl Element](./tablecontrol-element-format.md)|Defines a table format for a view.|
## Text Value
For more information about the components of a table view, see [Creating a Table
[Creating a Table View](./creating-a-table-view.md)
-[TableControl Element (Format)](./tablecontrol-element-format.md)
+[TableControl Element](./tablecontrol-element-format.md)
developer How To Create A Formatting File Format Ps1xml https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/how-to-create-a-formatting-file-format-ps1xml.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: How to Create a Formatting File (.format.ps1xml) description: How to Create a Formatting File (.format.ps1xml)
description: How to Create a Formatting File (.format.ps1xml)
This topic describes how to create a formatting file (.format.ps1xml). > [!NOTE]
-> You can also create a formatting file by making a copy of one of the files provided by Windows PowerShell. If you make a copy of an existing file, delete the existing digital signature, and add your own signature to the new file.
+> You can also create a formatting file by making a copy of one of the files provided by Windows
+> PowerShell. If you make a copy of an existing file, delete the existing digital signature, and add
+> your own signature to the new file.
-### To create a .format.ps1xml file.
+## Create a .format.ps1xml file.
1. Create a text file (.txt) using a text editor such as Notepad.
-2. Copy the following lines into the formatting file.
+1. Copy the following lines into the formatting file.
```xml <?xml version="1.0" encoding="utf-8" ?>
This topic describes how to create a formatting file (.format.ps1xml).
</Configuration> ```
- - The `<Configuration></Configuration>` tags define the root `Configuration` node. All additional XML tags will be enclosed within this node.
+ - The `<Configuration></Configuration>` tags define the root `Configuration` node. All additional
+ XML tags will be enclosed within this node.
- - The `<ViewDefinitions></ViewDefinitions>` tags define the `ViewDefinitions` node. All views are defined within this node.
+ - The `<ViewDefinitions></ViewDefinitions>` tags define the `ViewDefinitions` node. All views are
+ defined within this node.
-3. Save the file to the Windows PowerShell installation folder, to your module folder, or to a subfolder of the module folder. Use the following name format when you save the file: `MyFile.format.ps1xml`. Formatting files must use the `.format.ps1xml` extension.
+1. Save the file to the Windows PowerShell installation folder, to your module folder, or to a
+ subfolder of the module folder. Use the following name format when you save the file:
+ `MyFile.format.ps1xml`. Formatting files must use the `.format.ps1xml` extension.
- You are now ready to add views to the formatting file. There is no limit to the number of views that can be defined in a formatting file. You can add a single view for each object, multiple views for the same object, or a single view that is used by multiple objects.
+ You are now ready to add views to the formatting file. There is no limit to the number of views
+ that can be defined in a formatting file. You can add a single view for each object, multiple
+ views for the same object, or a single view that is used by multiple objects.
## See Also
developer Itemselectioncondition Element For Expressionbinding For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/itemselectioncondition-element-for-expressionbinding-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration (Format)
-description: ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration (Format)
+ Title: ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration
+description: ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration
---
-# ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration (Format)
+# ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration
-Defines the condition that must exist for this control to be used. This element is used when defining a common control that can be used by all the views in the formatting file.
+Defines the condition that must exist for this control to be used. This element is used when
+defining a common control that can be used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-CustomControl Element for Control for Configuration (Format)
-CustomEntries Element for CustomControl for Configuration (Format)
-CustomEntry Element for CustomControl for Controls for Configuration (Format)
-CustomItem Element for CustomEntry for Controls for Configuration
-ExpressionBinding Element for CustomItem for Controls for Configuration (Format)
-ItemSelectionCondition Element for ExpressionBinding for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
+- ItemSelectionCondition Element
## Syntax
ItemSelectionCondition Element for ExpressionBinding for Controls for Configurat
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `ItemSelectionCondition` element.
+The following sections describe attributes, child elements, and the parent element of the
+`ItemSelectionCondition` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[PropertyName Element for ItemSelectionCondition for Controls for Configuration (Format)](./propertyname-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the .NET property that triggers the condition.|
-|[ScriptBlock Element for ItemSelectionCondition for Controls for Configuration (Format)](./scriptblock-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
+|[PropertyName Element for ItemSelectionCondition for Controls for Configuration](./propertyname-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the .NET property that triggers the condition.|
+|[ScriptBlock Element for ItemSelectionCondition for Controls for Configuration](./scriptblock-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ExpressionBinding Element for CustomItem for Controls for Configuration (Format)](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)|Defines the data that is displayed by the control.|
+|[ExpressionBinding Element for CustomItem for Controls for Configuration](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)|Defines the data that is displayed by the control.|
## Remarks
You can specify one property name or a script for this condition but cannot spec
## See Also
-[PropertyName Element for ItemSelectionCondition for Controls for Configuration (Format)](./propertyname-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)
+[PropertyName Element for ItemSelectionCondition for Controls for Configuration](./propertyname-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)
-[ScriptBlock Element for ItemSelectionCondition for Controls for Configuration (Format)](./scriptblock-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)
+[ScriptBlock Element for ItemSelectionCondition for Controls for Configuration](./scriptblock-element-for-itemseclectioncondition-for-controls-for-configuration-format.md)
-[ExpressionBinding Element for CustomItem for Controls for Configuration (Format)](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
+[ExpressionBinding Element for CustomItem for Controls for Configuration](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Itemselectioncondition Element For Expressionbinding For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/itemselectioncondition-element-for-expressionbinding-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ItemSelectionCondition Element for ExpressionBinding for Controls for View (Format)
-description: ItemSelectionCondition Element for ExpressionBinding for Controls for View (Format)
+ Title: ItemSelectionCondition Element for ExpressionBinding for Controls for View
+description: ItemSelectionCondition Element for ExpressionBinding for Controls for View
---
-# ItemSelectionCondition Element for ExpressionBinding for Controls for View (Format)
-
-Defines the condition that must exist for this control to be used. This element is used when defining controls that can be used by a view.
-
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-CustomControl Element for Control for Controls for View (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for Controls for View (Format)
-CustomItem Element for CustomEntry for Controls for View (Format)
-ExpressionBinding Element for CustomItem for Controls for View (Format)
-ItemSelectionCondition Element of ExpressionBinding for Controls for View (Format)
+# ItemSelectionCondition Element for ExpressionBinding for Controls for View
+
+Defines the condition that must exist for this control to be used. This element is used when
+defining controls that can be used by a view.
+
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
+- ItemSelectionCondition Element
## Syntax
ItemSelectionCondition Element of ExpressionBinding for Controls for View (Forma
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `ItemSelectionCondition` element.
+The following sections describe attributes, child elements, and the parent element of the
+`ItemSelectionCondition` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[PropertyName Element for ItemSelectionCondition for Controls for View (Format)](./propertyname-element-for-itemselectioncondition-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the .NET property that triggers the condition.|
-|[ScriptBlock Element for ItemSelectionCondition for Controls for View (Format)](./scriptblock-element-for-itemselectioncondition-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
+|[PropertyName Element for ItemSelectionCondition for Controls for View](./propertyname-element-for-itemselectioncondition-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the .NET property that triggers the condition.|
+|[ScriptBlock Element for ItemSelectionCondition for Controls for View](./scriptblock-element-for-itemselectioncondition-for-controls-for-view-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ExpressionBinding Element for CustomItem for Controls for View (Format)](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)|Defines the data that is displayed by the control.|
+|[ExpressionBinding Element for CustomItem for Controls for View](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)|Defines the data that is displayed by the control.|
## Remarks
You can specify one property name or a script for this condition but cannot spec
## See Also
-[PropertyName Element for ItemSelectionCondition for Controls for View (Format)](./propertyname-element-for-itemselectioncondition-for-controls-for-view-format.md)
+[PropertyName Element for ItemSelectionCondition for Controls for View](./propertyname-element-for-itemselectioncondition-for-controls-for-view-format.md)
-[ScriptBlock Element for ItemSelectionCondition for Controls for View (Format)](./scriptblock-element-for-itemselectioncondition-for-controls-for-view-format.md)
+[ScriptBlock Element for ItemSelectionCondition for Controls for View](./scriptblock-element-for-itemselectioncondition-for-controls-for-view-format.md)
-[ExpressionBinding Element for CustomItem for Controls for View (Format)](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
+[ExpressionBinding Element for CustomItem for Controls for View](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Itemselectioncondition Element For Expressionbinding For Customcontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/itemselectioncondition-element-for-expressionbinding-for-customcontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ItemSelectionCondition Element for ExpressionBinding for CustomControl (Format)
-description: ItemSelectionCondition Element for ExpressionBinding for CustomControl (Format)
+ Title: ItemSelectionCondition Element for ExpressionBinding for CustomControl
+description: ItemSelectionCondition Element for ExpressionBinding for CustomControl
---
-# ItemSelectionCondition Element for ExpressionBinding for CustomControl (Format)
+# ItemSelectionCondition Element for ExpressionBinding for CustomControl
-Defines the condition that must exist for this control to be used. There is no limit to the number of selection conditions that can be specified for a control item. This element is used when defining a custom control view.
+Defines the condition that must exist for this control to be used. There is no limit to the number
+of selection conditions that can be specified for a control item. This element is used when defining
+a custom control view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-CustomControl Element (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for View (Format)
-CustomItem Element for CustomEntry for View (Format)
-ExpressionBinding Element for CustomItem for CustomControl for View (Format)
-ItemSelectionCondition Element for Expression Binding for CustomControl for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
+- ItemSelectionCondition Element
## Syntax
ItemSelectionCondition Element for Expression Binding for CustomControl for View
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `ItemSelectionCondition` element.
+The following sections describe attributes, child elements, and the parent element of the
+`ItemSelectionCondition` element.
### Attributes
None.
|Element|Description| |-------------|-----------------| |[PropertyName Element for ItemSelectionCondition for CustomControl for View (Format](./propertyname-element-for-itemselectioncondition-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies the .NET property that triggers the condition.|
-|[ScriptBlock Element for ItemSelectionCondition for CustomControl for View (Format)](./scriptblock-element-for-itemselectioncondition-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
+|[ScriptBlock Element for ItemSelectionCondition for CustomControl for View](./scriptblock-element-for-itemselectioncondition-for-customcontrol-for-view-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ExpressionBinding Element for CustomItem for CustomControl for View (Format)](./expressionbinding-element-for-customitem-for-customcontrol-for-view-format.md)|Defines the data that is displayed by the control.|
+|[ExpressionBinding Element for CustomItem for CustomControl for View](./expressionbinding-element-for-customitem-for-customcontrol-for-view-format.md)|Defines the data that is displayed by the control.|
## Remarks
You can specify one property name or a script for this condition but cannot spec
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
-[ExpressionBinding Element for CustomItem for CustomControl for View (Format)](./expressionbinding-element-for-customitem-for-customcontrol-for-view-format.md)
+[ExpressionBinding Element for CustomItem for CustomControl for View](./expressionbinding-element-for-customitem-for-customcontrol-for-view-format.md)
developer Itemselectioncondition Element For Expressionbinding For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/itemselectioncondition-element-for-expressionbinding-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ItemSelectionCondition Element for ExpressionBinding for GroupBy (Format)
-description: ItemSelectionCondition Element for ExpressionBinding for GroupBy (Format)
+ Title: ItemSelectionCondition Element for ExpressionBinding for GroupBy
+description: ItemSelectionCondition Element for ExpressionBinding for GroupBy
---
-# ItemSelectionCondition Element for ExpressionBinding for GroupBy (Format)
+# ItemSelectionCondition Element for ExpressionBinding for GroupBy
-Defines the condition that must exist for this control to be used. There is no limit to the number of selection conditions that can be specified for a control item. This element is used when defining how a new group of objects is displayed.
+Defines the condition that must exist for this control to be used. There is no limit to the number
+of selection conditions that can be specified for a control item. This element is used when defining
+how a new group of objects is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-CustomControl Element for GroupBy (Format)
-CustomEntries Element for CustomControl for GroupBy (Format)
-CustomEntry Element for CustomControl for GroupBy (Format)
-CustomItem Element for CustomEntry for GroupBy (Format)
-ExpressionBinding Element for CustomItem for GroupBy (Format)
-ItemSelectionCondition Element for ExpressionBinding for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- ExpressionBinding Element
+- ItemSelectionCondition Element
## Syntax
ItemSelectionCondition Element for ExpressionBinding for GroupBy (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `ItemSelectionCondition` element.
+The following sections describe attributes, child elements, and the parent element of the
+`ItemSelectionCondition` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[PropertyName Element for ItemSelectionCondition for GroupBy (Format)](./propertyname-element-for-itemselectioncondition-for-groupby-format.md)|Optional element.<br /><br /> Specifies the .NET property that triggers the condition.|
-|[ScriptBlock Element for ItemSelectionCondition for GroupBy (Format)](./scriptblock-element-for-itemselectioncondition-for-groupby-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
+|[PropertyName Element for ItemSelectionCondition for GroupBy](./propertyname-element-for-itemselectioncondition-for-groupby-format.md)|Optional element.<br /><br /> Specifies the .NET property that triggers the condition.|
+|[ScriptBlock Element for ItemSelectionCondition for GroupBy](./scriptblock-element-for-itemselectioncondition-for-groupby-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ExpressionBinding Element for CustomItem for GroupBy (Format)](./expressionbinding-element-for-customitem-for-groupby-format.md)|Defines the data that is displayed by the control.|
+|[ExpressionBinding Element for CustomItem for GroupBy](./expressionbinding-element-for-customitem-for-groupby-format.md)|Defines the data that is displayed by the control.|
## Remarks
You can specify one property name or a script for this condition but cannot spec
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
-[ExpressionBinding Element for CustomItem for GroupBy (Format)](./expressionbinding-element-for-customitem-for-groupby-format.md)
+[ExpressionBinding Element for CustomItem for GroupBy](./expressionbinding-element-for-customitem-for-groupby-format.md)
developer Itemselectioncondition Element For Listitem For Listcontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/itemselectioncondition-element-for-listitem-for-listcontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ItemSelectionCondition Element for ListItem for ListControl (Format)
-description: ItemSelectionCondition Element for ListItem for ListControl (Format)
+ Title: ItemSelectionCondition Element for ListItem for ListControl
+description: ItemSelectionCondition Element for ListItem for ListControl
---
-# ItemSelectionCondition Element for ListItem for ListControl (Format)
+# ItemSelectionCondition Element for ListItem for ListControl
Defines the condition that must exist for this list item to be used.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-ListControl Element (Format)
-ListEntries Element for ListControl (Format)
-ListEntry Element for ListEntries for ListControl (Format)
-ListItems Element for ListEntry for ListControl (Format)
-ListItem Element for ListItems for ListControl (Format)
-ItemSelectionCondition Element for ListItem for ListControl (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- ListControl Element
+- ListEntries Element
+- ListEntry Element
+- ListItems Element
+- ListItem Element
+- ItemSelectionCondition Element
## Syntax
ItemSelectionCondition Element for ListItem for ListControl (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `ItemSelectionCondition` element.
+The following sections describe attributes, child elements, and the parent element of the
+`ItemSelectionCondition` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[PropertyName Element for ItemSelectionCondition for ListControl (Format)](./propertyname-element-for-itemselectioncondition-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies the .NET property that triggers the condition.|
-|[ScriptBlock Element for ItemSelectionCondition for ListControl (Format)](./scriptblock-element-for-itemselectioncondition-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
+|[PropertyName Element for ItemSelectionCondition for ListControl](./propertyname-element-for-itemselectioncondition-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies the .NET property that triggers the condition.|
+|[ScriptBlock Element for ItemSelectionCondition for ListControl](./scriptblock-element-for-itemselectioncondition-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies the script that triggers the condition.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ListItem Element for ListItems for ListControl (Format)](./listitem-element-for-listitems-for-listcontrol-format.md)|Defines the property or script whose value is displayed in a row of the list view.|
+|[ListItem Element for ListItems for ListControl](./listitem-element-for-listitems-for-listcontrol-format.md)|Defines the property or script whose value is displayed in a row of the list view.|
## Remarks
You can specify one property name or a script for this condition but cannot spec
## See Also
-[ListItem Element for ListItems for ListControl (Format)](./listitem-element-for-listitems-for-listcontrol-format.md)
+[ListItem Element for ListItems for ListControl](./listitem-element-for-listitems-for-listcontrol-format.md)
-[PropertyName Element for ItemSelectionCondition for ListControl (Format)](./propertyname-element-for-itemselectioncondition-for-listcontrol-format.md)
+[PropertyName Element for ItemSelectionCondition for ListControl](./propertyname-element-for-itemselectioncondition-for-listcontrol-format.md)
-[ScriptBlock Element for ItemSelectionCondition for ListControl (Format)](./scriptblock-element-for-itemselectioncondition-for-listcontrol-format.md)
+[ScriptBlock Element for ItemSelectionCondition for ListControl](./scriptblock-element-for-itemselectioncondition-for-listcontrol-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Label Element For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/label-element-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Label Element for GroupBy (Format)
-description: Label Element for GroupBy (Format)
+ Title: Label Element for GroupBy
+description: Label Element for GroupBy
---
-# Label Element for GroupBy (Format)
+# Label Element for GroupBy
Specifies a label that is displayed when a new group is encountered.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-Label Element for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element
+- Label Element
## Syntax
Label Element for GroupBy (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and parent element of the `Label` element.
+The following sections describe the attributes, child elements, and parent element of the `Label`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[GroupBy Element for View (Format)](./groupby-element-for-view-format.md)|Defines how a new group of objects is displayed.|
+|[GroupBy Element for View](./groupby-element-for-view-format.md)|Defines how a new group of objects is displayed.|
## Text Value
-Specify the text that is displayed whenever Windows PowerShell encounters a new property or script value.
+Specify the text that is displayed whenever Windows PowerShell encounters a new property or script
+value.
## Remarks
-In addition to the text specified by this element, Windows PowerShell displays the new value that starts the group, and adds a blank line before and after the group.
+In addition to the text specified by this element, Windows PowerShell displays the new value that
+starts the group, and adds a blank line before and after the group.
## Example
-The following example shows the label for a new group. The displayed label would look similar to this: `Service Type: NewValueofProperty`
+The following example shows the label for a new group. The displayed label would look similar to
+this: `Service Type: NewValueofProperty`
```xml <GroupBy>
For an example of a complete formatting file that includes this element, see [Wi
## See Also
-[GroupBy Element for View (Format)](./groupby-element-for-view-format.md)
+[GroupBy Element for View](./groupby-element-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Label Element For Listitem For Listcontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/label-element-for-listitem-for-listcontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Label Element for ListItem for ListControl (Format)
-description: Label Element for ListItem for ListControl (Format)
+ Title: Label Element for ListItem for ListControl
+description: Label Element for ListItem for ListControl
---
-# Label Element for ListItem for ListControl (Format)
+# Label Element for ListItem for ListControl
Specifies the label that is displayed to the left of the property or script value in the row.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-ListControl Element (Format)
-ListEntries Element for ListControl (Format)
-ListEntry Element for ListControl (Format)
-ListItems for ListEntry for ListControl Element (Format)
-ListItem Element for ListItems for ListControl (Format)
-Label Element for ListItem for ListControl (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- ListControl Element
+- ListEntries Element
+- ListEntry Element
+- ListItems Element
+- ListItem Element
+- Label Element
## Syntax
Label Element for ListItem for ListControl (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and the parent element of the `Label` element.
+The following sections describe the attributes, child elements, and the parent element of the
+`Label` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[ListItem Element for ListItems for ListControl (Format)](./listitem-element-for-listitems-for-listcontrol-format.md)|Defines the property or script whose value is displayed in a row of the list view.|
+|[ListItem Element for ListItems for ListControl](./listitem-element-for-listitems-for-listcontrol-format.md)|Defines the property or script whose value is displayed in a row of the list view.|
## Text Value
Specify the label to be display to the left of the property or script value.
## Remarks
-If a label is not specified, the name of the property or the script is displayed. For more information about using labels in a list view, see [Creating a List View](./creating-a-list-view.md).
+If a label is not specified, the name of the property or the script is displayed. For more
+information about using labels in a list view, see [Creating a List View](./creating-a-list-view.md).
## Example
The following example shows how to add a label to a row.
[Creating a List View](./creating-a-list-view.md)
-[ListItem Element (Format)](./listitem-element-for-listitems-for-listcontrol-format.md)
+[ListItem Element](./listitem-element-for-listitems-for-listcontrol-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Label Element For Tablecolumnheader For Tablecontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/label-element-for-tablecolumnheader-for-tablecontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Label Element for TableColumnHeader for TableControl (Format)
-description: Label Element for TableColumnHeader for TableControl (Format)
+ Title: Label Element for TableColumnHeader for TableControl
+description: Label Element for TableColumnHeader for TableControl
---
-# Label Element for TableColumnHeader for TableControl (Format)
+# Label Element for TableColumnHeader for TableControl
-Defines the label that is displayed at the top of a column. This element is used when defining a table view.
+Defines the label that is displayed at the top of a column. This element is used when defining a
+table view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-TableControl Element (Format)
-TableHeaders Element for TableControl (Format)
-TableColumnHeader Element for TableHeaders for TableControl (Format)
-Label Element for TableColumnHeader for TableControl (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- TableControl Element
+- TableHeaders Element
+- TableColumnHeader Element
+- Label Element
## Syntax
Label Element for TableColumnHeader for TableControl (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and the parent element of the `Label` element. Only one label is allowed for each column.
+The following sections describe the attributes, child elements, and the parent element of the
+`Label` element. Only one label is allowed for each column.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[TableColumnHeader Element for TableHeaders for TableControl (Format)](./tablecolumnheader-element-format.md)|Defines a label, the width, and the alignment of the data for a column of the table.|
+|[TableColumnHeader Element for TableHeaders for TableControl ](./tablecolumnheader-element-format.md)|Defines a label, the width, and the alignment of the data for a column of the table.|
## Text Value
-Specify the text that is displayed at the top of the column of the table. There are no restricted characters for the column label.
+Specify the text that is displayed at the top of the column of the table. There are no restricted
+characters for the column label.
## Remarks
This example shows a `TableColumnHeader` element whose label is "Column 1".
[Creating a Table View](./creating-a-table-view.md)
-[TableColumnHeader Element (Format)](./tablecolumnheader-element-format.md)
+[TableColumnHeader Element](./tablecolumnheader-element-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Leftindent Element For Frame For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/leftindent-element-for-frame-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: LeftIndent Element for Frame for Controls for Configuration (Format)
-description: LeftIndent Element for Frame for Controls for Configuration (Format)
+ Title: LeftIndent Element for Frame for Controls for Configuration
+description: LeftIndent Element for Frame for Controls for Configuration
---
-# LeftIndent Element for Frame for Controls for Configuration (Format)
+# LeftIndent Element for Frame for Controls for Configuration
-Specifies how many characters the data is shifted away from the left margin. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies how many characters the data is shifted away from the left margin. This element is used
+when defining a common control that can be used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-CustomControl Element for Control for Configuration (Format)
-CustomEntries Element for CustomControl for Configuration (Format)
-CustomEntry Element for CustomControl for Controls for Configuration (Format)
-CustomItem Element for CustomEntry for Controls for Configuration
-Frame Element for CustomItem for Controls for Configuration (Format)
-LeftIndent Element for Frame for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- LeftIndent Element
## Syntax
LeftIndent Element for Frame for Controls for Configuration (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `LeftIndent` element.
+The following sections describe attributes, child elements, and parent element of the `LeftIndent`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for Controls for Configuration (Format)](./frame-element-for-customitem-for-controls-for-configuration-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for Controls for Configuration](./frame-element-for-customitem-for-controls-for-configuration-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
Specify the number of characters that you want to shift the data to the left.
## See Also
-[Frame Element for CustomItem for Controls for Configuration (Format)](./frame-element-for-customitem-for-controls-for-configuration-format.md)
+[Frame Element for CustomItem for Controls for Configuration](./frame-element-for-customitem-for-controls-for-configuration-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Leftindent Element For Frame For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/leftindent-element-for-frame-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: LeftIndent Element for Frame for Controls for View (Format)
-description: LeftIndent Element for Frame for Controls for View (Format)
+ Title: LeftIndent Element for Frame for Controls for View
+description: LeftIndent Element for Frame for Controls for View
---
-# LeftIndent Element for Frame for Controls for View (Format)
-
-Specifies how many characters the data is shifted away from the left margin. This element is used when defining controls that can be used by a view.
-
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-CustomControl Element for Control for Controls for View (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for Controls for View (Format)
-CustomItem Element for CustomEntry for Controls for View (Format)
-Frame Element for CustomItem for Controls for View (Format)
-LeftIndent Element of Frame of Controls of View (Format)
+# LeftIndent Element for Frame for Controls for View
+
+Specifies how many characters the data is shifted away from the left margin. This element is used
+when defining controls that can be used by a view.
+
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- LeftIndent Element
## Syntax
LeftIndent Element of Frame of Controls of View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `LeftIndent` element.
+The following sections describe attributes, child elements, and parent element of the `LeftIndent`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for Controls for View (Format)](./frame-element-for-customitem-for-controls-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for Controls for View](./frame-element-for-customitem-for-controls-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
Specify the number of characters that you want to shift the data to the left.
## See Also
-[Frame Element for CustomItem for Controls for View (Format)](./frame-element-for-customitem-for-controls-for-view-format.md)
+[Frame Element for CustomItem for Controls for View](./frame-element-for-customitem-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Leftindent Element For Frame For Customcontrol For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/leftindent-element-for-frame-for-customcontrol-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: LeftIndent Element for Frame for CustomControl for View (Format)
-description: LeftIndent Element for Frame for CustomControl for View (Format)
+ Title: LeftIndent Element for Frame for CustomControl for View
+description: LeftIndent Element for Frame for CustomControl for View
---
-# LeftIndent Element for Frame for CustomControl for View (Format)
+# LeftIndent Element for Frame for CustomControl for View
-Specifies how many characters the data is shifted away from the left margin. This element is used when defining a custom control view.
+Specifies how many characters the data is shifted away from the left margin. This element is used
+when defining a custom control view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-CustomControl Element (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for View (Format)
-CustomItem Element for CustomEntry for CustomControlView (Format)
-Frame Element for CustomItem for CustomControl for View (Format)
-LeftIndent Element
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- LeftIndent Element
## Syntax
LeftIndent Element
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `LeftIndent` element.
+The following sections describe attributes, child elements, and parent element of the `LeftIndent`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for CustomControl for View (Format)](./frame-element-for-customitem-for-customcontrol-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for CustomControl for View](./frame-element-for-customitem-for-customcontrol-for-view-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
Specify the number of characters that you want to shift the data to the left.
## See Also
-[Frame Element for CustomItem for CustomControl for View (Format)](./frame-element-for-customitem-for-customcontrol-for-view-format.md)
+[Frame Element for CustomItem for CustomControl for View](./frame-element-for-customitem-for-customcontrol-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Leftindent Element For Frame For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/leftindent-element-for-frame-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: LeftIndent Element for Frame for GroupBy (Format)
-description: LeftIndent Element for Frame for GroupBy (Format)
+ Title: LeftIndent Element for Frame
+description: LeftIndent Element for Frame
---
-# LeftIndent Element for Frame for GroupBy (Format)
+# LeftIndent Element for Frame
-Specifies how many characters the data is shifted away from the left margin. This element is used when defining how a new group of objects is displayed.
+Specifies how many characters the data is shifted away from the left margin. This element is used
+when defining how a new group of objects is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-CustomControl Element for GroupBy (Format)
-CustomEntries Element for CustomControl for GroupBy (Format)
-CustomEntry Element for CustomControl for GroupBy (Format)
-CustomItem Element for CustomEntry for GroupBy (Format)
-Frame Element for CustomItem for GroupBy (Format)
-LeftIndent Element for Frame for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- Frame Element
+- LeftIndent Element
## Syntax
LeftIndent Element for Frame for GroupBy (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and parent element of the `LeftIndent` element.
+The following sections describe attributes, child elements, and parent element of the `LeftIndent`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Frame Element for CustomItem for GroupBy (Format)](./frame-element-for-customitem-for-groupby-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
+|[Frame Element for CustomItem for GroupBy](./frame-element-for-customitem-for-groupby-format.md)|Defines how the data is displayed, such as shifting the data to the left or right.|
## Text Value
Specify the number of characters that you want to shift the data to the left.
## See Also
-[Frame Element for CustomItem for GroupBy (Format)](./frame-element-for-customitem-for-groupby-format.md)
+[Frame Element for CustomItem for GroupBy](./frame-element-for-customitem-for-groupby-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer List View Basic https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/list-view-basic.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: List View (Basic) description: List View (Basic) --- # List View (Basic)
-This example shows how to implement a basic list view that displays the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController) objects returned by the [Get-Service](/powershell/module/microsoft.powershell.management/get-service) cmdlet. For more information about the components of a list view, see [Creating a List View](./creating-a-list-view.md).
+This example shows how to implement a basic list view that displays the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController)
+objects returned by the [Get-Service](/powershell/module/microsoft.powershell.management/get-service)
+cmdlet. For more information about the components of a list view, see [Creating a List View](./creating-a-list-view.md).
-### To load this formatting file
+## Load this formatting file
1. Copy the XML from the Example section of this topic into a text file.
-2. Save the text file. Be sure to add the `format.ps1xml` extension to the file to identify it as a formatting file.
+1. Save the text file. Be sure to add the `format.ps1xml` extension to the file to identify it as a
+ formatting file.
-3. Open Windows PowerShell, and run the following command to load the formatting file into the current session: `Update-formatdata -prependpath PathToFormattingFile`.
+1. Open Windows PowerShell, and run the following command to load the formatting file into the
+ current session: `Update-formatdata -prependpath PathToFormattingFile`.
- > [!WARNING]
- > This formatting file defines the display of an object that is already defined by a Windows PowerShell formatting file. You must use the `prependPath` parameter when you run the cmdlet, and you cannot load this formatting file as a module.
+> [!WARNING]
+> This formatting file defines the display of an object that is already defined by a Windows
+> PowerShell formatting file. You must use the `prependPath` parameter when you run the cmdlet, and
+> you cannot load this formatting file as a module.
## Demonstrates
This formatting file demonstrates the following XML elements:
- The [Name](./name-element-for-view-format.md) element for the view. -- The [ViewSelectedBy](./viewselectedby-element-format.md) element that defines what objects are displayed by the view.
+- The [ViewSelectedBy](./viewselectedby-element-format.md) element that defines what objects are
+ displayed by the view.
-- The [ListControl](./listcontrol-element-format.md) element that defines what property is displayed by the view.
+- The [ListControl](./listcontrol-element-format.md) element that defines what property is displayed
+ by the view.
-- The [ListItem](./listitem-element-for-listitems-for-listcontrol-format.md) element that defines what is displayed in a row of the list view.
+- The [ListItem](./listitem-element-for-listitems-for-listcontrol-format.md) element that defines
+ what is displayed in a row of the list view.
-- The [PropertyName](./propertyname-element-for-listitem-for-listcontrol-format.md) element that defines which property is displayed.
+- The [PropertyName](./propertyname-element-for-listitem-for-listcontrol-format.md) element that
+ defines which property is displayed.
## Example
-The following XML defines a list view that displays four properties of the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController) object. In each row, the name of the property is displayed followed by the value of the property.
+The following XML defines a list view that displays four properties of the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController)
+object. In each row, the name of the property is displayed followed by the value of the property.
```xml <Configuration>
The following XML defines a list view that displays four properties of the [Syst
</Configuration> ```
-The following example shows how Windows PowerShell displays the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController) objects after this format file is loaded.
+The following example shows how Windows PowerShell displays the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController)
+objects after this format file is loaded.
```powershell Get-Service f*
developer List View Groupby https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/list-view-groupby.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: List View (GroupBy) description: List View (GroupBy) --- # List View (GroupBy)
-This example shows how to implement a list view that separates the rows of the list into groups. This list view displays the properties of the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController) objects returned by the [Get-Service](/powershell/module/Microsoft.PowerShell.Management/Get-Service) cmdlet. For more information about the components of a list view, see [Creating a List View](./creating-a-list-view.md).
+This example shows how to implement a list view that separates the rows of the list into groups.
+This list view displays the properties of the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController)
+objects returned by the [Get-Service](/powershell/module/Microsoft.PowerShell.Management/Get-Service)
+cmdlet. For more information about the components of a list view, see [Creating a List View](./creating-a-list-view.md).
-### To load this formatting file
+## Load this formatting file
1. Copy the XML from the Example section of this topic into a text file.
-2. Save the text file. Be sure to add the `format.ps1xml` extension to the file to identify it as a formatting file.
+1. Save the text file. Be sure to add the `format.ps1xml` extension to the file to identify it as a
+ formatting file.
-3. Open Windows PowerShell, and run the following command to load the formatting file into the current session: `Update-formatdata -prependpath PathToFormattingFile`.
+1. Open Windows PowerShell, and run the following command to load the formatting file into the
+ current session: `Update-formatdata -prependpath PathToFormattingFile`.
- > [!WARNING]
- > This formatting file defines the display of an object that is already defined by a Windows PowerShell formatting file. You must use the `prependPath` parameter when you run the cmdlet, and you cannot load this formatting file as a module.
+> [!WARNING]
+> This formatting file defines the display of an object that is already defined by a Windows
+> PowerShell formatting file. You must use the `prependPath` parameter when you run the cmdlet, and
+> you cannot load this formatting file as a module.
## Demonstrates
This formatting file demonstrates the following XML elements:
- The [Name](./name-element-for-view-format.md) element for the view. -- The [ViewSelectedBy](./viewselectedby-element-format.md) element that defines what objects are displayed by the view.
+- The [ViewSelectedBy](./viewselectedby-element-format.md) element that defines what objects are
+ displayed by the view.
-- The [GroupBy](./viewselectedby-element-format.md) element that defines how a new group of objects is displayed.
+- The [GroupBy](./viewselectedby-element-format.md) element that defines how a new group of objects
+ is displayed.
-- The [ListControl](./listcontrol-element-format.md) element that defines what property is displayed by the view.
+- The [ListControl](./listcontrol-element-format.md) element that defines what property is displayed
+ by the view.
-- The [ListItem](./listitem-element-for-listitems-for-listcontrol-format.md) element that defines what is displayed in a row of the list view.
+- The [ListItem](./listitem-element-for-listitems-for-listcontrol-format.md) element that defines
+ what is displayed in a row of the list view.
-- The [PropertyName](./propertyname-element-for-listitem-for-listcontrol-format.md) element that defines which property is displayed.
+- The [PropertyName](./propertyname-element-for-listitem-for-listcontrol-format.md) element that
+ defines which property is displayed.
## Example
-The following XML defines a list view that starts a new group whenever the value of the [System.Serviceprocess.Servicecontroller.Status](/dotnet/api/System.ServiceProcess.ServiceController.Status) property changes. When each group is started, a custom label is displayed that includes the new value of the property.
+The following XML defines a list view that starts a new group whenever the value of the [System.Serviceprocess.Servicecontroller.Status](/dotnet/api/System.ServiceProcess.ServiceController.Status)
+property changes. When each group is started, a custom label is displayed that includes the new
+value of the property.
```xml <Configuration>
The following XML defines a list view that starts a new group whenever the value
</Configuration> ```
-The following example shows how Windows PowerShell displays the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController) objects after this format file is loaded. The blank lines added before and after the group label are automatically added by Windows PowerShell.
+The following example shows how Windows PowerShell displays the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController)
+objects after this format file is loaded. The blank lines added before and after the group label are
+automatically added by Windows PowerShell.
```powershell Get-Service f*
developer List View Labels https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/list-view-labels.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: List View (Labels) description: List View (Labels) --- # List View (Labels)
-This example shows how to implement a list view that displays a custom label for each row of the list. This list view displays the properties of the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController) object that is returned by the [Get-Service](/powershell/module/Microsoft.PowerShell.Management/Get-Service) cmdlet. For more information about the components of a list view, see [Creating a List View](./creating-a-list-view.md).
+This example shows how to implement a list view that displays a custom label for each row of the
+list. This list view displays the properties of the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController)
+object that is returned by the [Get-Service](/powershell/module/Microsoft.PowerShell.Management/Get-Service)
+cmdlet. For more information about the components of a list view, see [Creating a List View](./creating-a-list-view.md).
-### To load this formatting file
+## Load this formatting file
1. Copy the XML from the Example section of this topic into a text file.
-2. Save the text file. Be sure to add the `format.ps1xml` extension to the file to identify it as a formatting file.
+1. Save the text file. Be sure to add the `format.ps1xml` extension to the file to identify it as a
+ formatting file.
-3. Open Windows PowerShell, and run the following command to load the formatting file into the current session: `Update-formatdata -prependpath PathToFormattingFile`.
+1. Open Windows PowerShell, and run the following command to load the formatting file into the
+ current session: `Update-formatdata -prependpath PathToFormattingFile`.
- > [!WARNING]
- > This formatting file defines the display of an object that is already defined by a Windows PowerShell formatting file. You must use the `prependPath` parameter when you run the cmdlet, and you cannot load this formatting file as a module.
+> [!WARNING]
+
+> This formatting file defines the display of an object that is already defined by a Windows
+> PowerShell formatting file. You must use the `prependPath` parameter when you run the cmdlet, and
+> you cannot load this formatting file as a module.
## Demonstrates
This formatting file demonstrates the following XML elements:
- The [Name](./name-element-for-view-format.md) element for the view. -- The [ViewSelectedBy](./viewselectedby-element-format.md) element that defines what objects are displayed by the view.
+- The [ViewSelectedBy](./viewselectedby-element-format.md) element that defines what objects are
+ displayed by the view.
-- The [ListControl](./listcontrol-element-format.md) element that defines what property is displayed by the view.
+- The [ListControl](./listcontrol-element-format.md) element that defines what property is displayed
+ by the view.
-- The [ListItem](./listitem-element-for-listitems-for-listcontrol-format.md) element that defines what is displayed in a row of the list view.
+- The [ListItem](./listitem-element-for-listitems-for-listcontrol-format.md) element that defines
+ what is displayed in a row of the list view.
-- The [Label](./label-element-for-listitem-for-listcontrol-format.md) element that defines what is displayed in a row of the list view.
+- The [Label](./label-element-for-listitem-for-listcontrol-format.md) element that defines what is
+ displayed in a row of the list view.
-- The [PropertyName](./propertyname-element-for-listitem-for-listcontrol-format.md) element that defines which property is displayed.
+- The [PropertyName](./propertyname-element-for-listitem-for-listcontrol-format.md) element that
+ defines which property is displayed.
## Example
-The following XML defines a list view that displays a custom label in each row. In this case, the label includes the property name with each letter capitalized and the word "property". In each row, the name of the property is displayed followed by the value of the property.
+The following XML defines a list view that displays a custom label in each row. In this case, the
+label includes the property name with each letter capitalized and the word "property". In each row,
+the name of the property is displayed followed by the value of the property.
```xml <Configuration>
The following XML defines a list view that displays a custom label in each row.
</Configuration> ```
-The following example shows how Windows PowerShell displays the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController) objects after this format file is loaded.
+The following example shows how Windows PowerShell displays the [System.Serviceprocess.Servicecontroller?Displayproperty=Fullname](/dotnet/api/System.ServiceProcess.ServiceController)
+objects after this format file is loaded.
```powershell Get-Service f*
developer Listcontrol Element Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/listcontrol-element-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ListControl Element (Format)
-description: ListControl Element (Format)
+ Title: ListControl Element
+description: ListControl Element
---
-# ListControl Element (Format)
+# ListControl Element
Defines a list format for the view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-ListControl Element (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- ListControl Element
## Syntax
ListControl Element (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and the parent element of the `ListControl` element. This element must contain only a single child element.
+The following sections describe the attributes, child elements, and the parent element of the
+`ListControl` element. This element must contain only a single child element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[ListEntries Element (Format)](./listentries-element-for-listcontrol-format.md)|Required element.<br /><br /> Provides the definitions of the list view.|
+|[ListEntries Element](./listentries-element-for-listcontrol-format.md)|Required element.<br /><br /> Provides the definitions of the list view.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[View Element (Format)](./view-element-format.md)|Defines a view that is used to display the members of one or more objects.|
+|[View Element](./view-element-format.md)|Defines a view that is used to display the members of one or more objects.|
## Remarks
For more information about creating a list view, see [Creating a List View](./cr
## Example
-This example shows a list view for the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController) object.
+This example shows a list view for the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController)
+object.
``` <View>
This example shows a list view for the [System.Serviceprocess.Servicecontroller]
## See Also
-[View Element (Format)](./view-element-format.md)
+[View Element](./view-element-format.md)
-[ListEntries Element (Format)](./listentries-element-for-listcontrol-format.md)
+[ListEntries Element](./listentries-element-for-listcontrol-format.md)
[Creating a List View](./creating-a-list-view.md)
developer Listentries Element For Listcontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/listentries-element-for-listcontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ListEntries Element for ListControl (Format)
-description: ListEntries Element for ListControl (Format)
+ Title: ListEntries Element
+description: ListEntries Element
---
-# ListEntries Element for ListControl (Format)
+# ListEntries Element
Provides the definitions of the list view. The list view must specify one or more definitions.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-ListControl Element (Format)
-ListEntries Element (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- ListControl Element
+- ListEntries Element
## Syntax
ListEntries Element (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and the parent element of the `ListEntries` element. At least one child element must be specified.
+The following sections describe the attributes, child elements, and the parent element of the
+`ListEntries` element. At least one child element must be specified.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[ListEntry Element (Format)](./listentry-element-for-listcontrol-format.md)|Provides a definition of the list view.|
+|[ListEntry Element](./listentry-element-for-listcontrol-format.md)|Provides a definition of the list view.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ListControl Element (Format)](./listcontrol-element-format.md)|Defines a list format for the view.|
+|[ListControl Element](./listcontrol-element-format.md)|Defines a list format for the view.|
## Remarks
For more information about list views, see [List View](./creating-a-list-view.md
## Example
-This example shows the XML elements that define the list view for the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController) object.
+This example shows the XML elements that define the list view for the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController)
+object.
```xml <View>
This example shows the XML elements that define the list view for the [System.Se
## See Also
-[ListControl Element (Format)](./listcontrol-element-format.md)
+[ListControl Element](./listcontrol-element-format.md)
-[ListEntry Element (Format)](./listentry-element-for-listcontrol-format.md)
+[ListEntry Element](./listentry-element-for-listcontrol-format.md)
[List View](./creating-a-list-view.md)
developer Listentry Element For Listcontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/listentry-element-for-listcontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ListEntry Element for ListControl (Format)
-description: ListEntry Element for ListControl (Format)
+ Title: ListEntry Element
+description: ListEntry Element
---
-# ListEntry Element for ListControl (Format)
+# ListEntry Element
Provides a definition of the list view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-ListControl Element (Format)
-ListEntries Element (Format)
-ListEntry Element (Format)
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- ListControl Element
+- ListEntries Element
+- ListEntry Element
## Syntax
ListEntry Element (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and the parent element of the `ListEntry` element.
+The following sections describe the attributes, child elements, and the parent element of the
+`ListEntry` element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[EntrySelectedBy Element for ListEntry (Format)](./entryselectedby-element-for-listentry-for-listcontrol-format.md)|Optional element.<br /><br /> Defines the .NET objects that use this list view definition or the condition that must exist for this definition to be used.|
-|[ListItems Element (Format)](./listitems-element-for-listentry-for-listcontrol-format.md)|Required element.<br /><br /> Defines the properties and scripts whose values are displayed by the list view.|
+|[EntrySelectedBy Element for ListEntry](./entryselectedby-element-for-listentry-for-listcontrol-format.md)|Optional element.<br /><br /> Defines the .NET objects that use this list view definition or the condition that must exist for this definition to be used.|
+|[ListItems Element](./listitems-element-for-listentry-for-listcontrol-format.md)|Required element.<br /><br /> Defines the properties and scripts whose values are displayed by the list view.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ListEntries Element (Format)](./listentries-element-for-listcontrol-format.md)|Provides the definitions of the list view.|
+|[ListEntries Element](./listentries-element-for-listcontrol-format.md)|Provides the definitions of the list view.|
## Remarks
-A list view is a list format that displays property values or script values for each object. For more information about list views, see [Creating a List View](./creating-a-list-view.md).
+A list view is a list format that displays property values or script values for each object. For
+more information about list views, see [Creating a List View](./creating-a-list-view.md).
## Example
-This example shows the XML elements that define the list view for the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController) object.
+This example shows the XML elements that define the list view for the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController)
+object.
```xml <View>
This example shows the XML elements that define the list view for the [System.Se
[Creating a List View](./creating-a-list-view.md)
-[EntrySelectedBy Element for ListEntry (Format)](./entryselectedby-element-for-listentry-for-listcontrol-format.md)
+[EntrySelectedBy Element for ListEntry](./entryselectedby-element-for-listentry-for-listcontrol-format.md)
-[ListEntries Element (Format)](./listentries-element-for-listcontrol-format.md)
+[ListEntries Element](./listentries-element-for-listcontrol-format.md)
-[ListItems Element (Format)](./listitems-element-for-listentry-for-listcontrol-format.md)
+[ListItems Element](./listitems-element-for-listentry-for-listcontrol-format.md)
[Writing a Windows PowerShell Formatting and Types File](./writing-a-powershell-formatting-file.md)
developer Listitem Element For Listitems For Listcontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/listitem-element-for-listitems-for-listcontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ListItem Element for ListItems for ListControl (Format)
-description: ListItem Element for ListItems for ListControl (Format)
+ Title: ListItem Element
+description: ListItem Element
---
-# ListItem Element for ListItems for ListControl (Format)
+# ListItem Element
Defines the property or script whose value is displayed in a row of the list view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-ListControl Element (Format)
-ListEntries Element for ListControl (Format)
-ListEntry Element for ListControl (Format)
-ListItems Element for ListControl (Format)
-ListItem for ListControl Element (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- ListControl Element
+- ListEntries Element
+- ListEntry Element
+- ListItems Element
+- ListItem Element
## Syntax
ListItem for ListControl Element (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and parent element of the `ListItem` element. Only one property or script can be specified.
+The following sections describe the attributes, child elements, and parent element of the `ListItem`
+element. Only one property or script can be specified.
### Attributes
None
|Element|Description| |-------------|-----------------|
-|[FormatString Element for ListItem for ListControl (Format)](./formatstring-element-for-listitem-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies a format string that defines how the property or script value is displayed.|
-|[ItemSelectionCondition Element for ListItem for ListControl (Format)](./itemselectioncondition-element-for-listitem-for-listcontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this list item to be used.|
-|[Label Element for ListItem for ListControl (Format)](./label-element-for-listitem-for-listcontrol-format.md)|Optional element<br /><br /> Specifies the label that is displayed to the left of the property or script value in the row.|
-|[PropertyName Element for ListItem for ListControl (Format)](./propertyname-element-for-listitem-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed in the row.|
-|[ScriptBlock Element for ListItem for ListControl (Format)](./scriptblock-element-for-listitem-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed in the row.|
+|[FormatString Element for ListItem for ListControl](./formatstring-element-for-listitem-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies a format string that defines how the property or script value is displayed.|
+|[ItemSelectionCondition Element for ListItem for ListControl](./itemselectioncondition-element-for-listitem-for-listcontrol-format.md)|Optional element.<br /><br /> Defines the condition that must exist for this list item to be used.|
+|[Label Element for ListItem for ListControl](./label-element-for-listitem-for-listcontrol-format.md)|Optional element<br /><br /> Specifies the label that is displayed to the left of the property or script value in the row.|
+|[PropertyName Element for ListItem for ListControl](./propertyname-element-for-listitem-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies the .NET property whose value is displayed in the row.|
+|[ScriptBlock Element for ListItem for ListControl](./scriptblock-element-for-listitem-for-listcontrol-format.md)|Optional element.<br /><br /> Specifies the script whose value is displayed in the row.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ListItems Element for List Control (Format)](./listitems-element-for-listentry-for-listcontrol-format.md)|Defines the properties and scripts whose values are displayed in the list view.|
+|[ListItems Element for List Control](./listitems-element-for-listentry-for-listcontrol-format.md)|Defines the properties and scripts whose values are displayed in the list view.|
## Remarks
For more information about the components of a list view, see [Creating a List V
## Example
-This example shows the XML elements that define three rows of the list view. The first two rows display the value of a .NET property, and the last row displays a value generated by a script.
+This example shows the XML elements that define three rows of the list view. The first two rows
+display the value of a .NET property, and the last row displays a value generated by a script.
```xml <ListEntry>
This example shows the XML elements that define three rows of the list view. The
## See Also
-[ListItems Element (Format)](./listitems-element-for-listentry-for-listcontrol-format.md)
+[ListItems Element](./listitems-element-for-listentry-for-listcontrol-format.md)
-[FormatString Element for ListItem (Format)](./formatstring-element-for-listitem-for-listcontrol-format.md)
+[FormatString Element for ListItem](./formatstring-element-for-listitem-for-listcontrol-format.md)
-[Label Element for ListItem (Format)](./label-element-for-listitem-for-listcontrol-format.md)
+[Label Element for ListItem](./label-element-for-listitem-for-listcontrol-format.md)
-[PropertyName Element for ListItem (Format)](./propertyname-element-for-listitem-for-listcontrol-format.md)
+[PropertyName Element for ListItem](./propertyname-element-for-listitem-for-listcontrol-format.md)
-[ScriptBlock Element for ListItem (Format)](./scriptblock-element-for-listitem-for-listcontrol-format.md)
+[ScriptBlock Element for ListItem](./scriptblock-element-for-listitem-for-listcontrol-format.md)
[Creating a List View](./creating-a-list-view.md)
developer Listitems Element For Listentry For Listcontrol Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/listitems-element-for-listentry-for-listcontrol-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: ListItems Element for ListEntry for ListControl (Format)
-description: ListItems Element for ListEntry for ListControl (Format)
+ Title: ListItems Element
+description: ListItems Element
---
-# ListItems Element for ListEntry for ListControl (Format)
+# ListItems Element
Defines the properties and scripts whose values are displayed in the rows of the list view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-ListControl Element (Format)
-ListEntries Element for List Control (Format)
-ListEntry Element for ListControl (Format)
-ListItems Element for ListControl (Format)
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- ListControl Element
+- ListEntries Element
+- ListEntry Element
+- ListItems Element
## Syntax
ListItems Element for ListControl (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and parent element of the `ListItems` element. There is no limit to the number of child elements that can be specified. The order of the child elements defines the order that values are displayed in the list view.
+The following sections describe the attributes, child elements, and parent element of the
+`ListItems` element. There is no limit to the number of child elements that can be specified. The
+order of the child elements defines the order that values are displayed in the list view.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[ListItem Element for ListControl (Format)](./listitem-element-for-listitems-for-listcontrol-format.md)|Required element.<br /><br /> Defines the property or script whose value is displayed by the list view.|
+|[ListItem Element for ListControl](./listitem-element-for-listitems-for-listcontrol-format.md)|Required element.<br /><br /> Defines the property or script whose value is displayed by the list view.|
### Parent Elements |Element|Description| |-------------|-----------------|
-|[ListEntry Element for ListControl (Format)](./listentry-element-for-listcontrol-format.md)|Provides a definition of the list view.|
+|[ListEntry Element for ListControl](./listentry-element-for-listcontrol-format.md)|Provides a definition of the list view.|
## Remarks
This example shows the XML elements that define three rows of the list view.
## See Also
-[ListEntry Element for ListControl (Format)](./listentry-element-for-listcontrol-format.md)
+[ListEntry Element for ListControl](./listentry-element-for-listcontrol-format.md)
-[ListItem Element for ListControl (Format)](./listitem-element-for-listitems-for-listcontrol-format.md)
+[ListItem Element for ListControl](./listitem-element-for-listitems-for-listcontrol-format.md)
[Creating a List View](./creating-a-list-view.md)
developer Loading And Exporting Formatting Data https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/loading-and-exporting-formatting-data.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Loading and Exporting Formatting Data description: Loading and Exporting Formatting Data --- # Loading and Exporting Formatting Data
-Once you have created your formatting file, you need to update the format data of the session by loading your files into the current session. (The formatting files provided by Windows PowerShell are loaded by snap-ins that are registered when the current session is opened.) Once the format data of the current session is updated, Windows PowerShell uses that data to display the .NET objects associated with the views defined in the loaded formatting files. There is no limit to the number of formatting files that you can load into the current session. In addition to updating the formatting data, you can export the format data in the current session back to a formatting file.
+Once you have created your formatting file, you need to update the format data of the session by
+loading your files into the current session. (The formatting files provided by Windows PowerShell
+are loaded by snap-ins that are registered when the current session is opened.) Once the format data
+of the current session is updated, Windows PowerShell uses that data to display the .NET objects
+associated with the views defined in the loaded formatting files. There is no limit to the number of
+formatting files that you can load into the current session. In addition to updating the formatting
+data, you can export the format data in the current session back to a formatting file.
## Loading format data Formatting files can be loaded into the current session using the following methods: -- You can import the formatting file into the current session from the command line. Use the [Update-FormatData](/powershell/module/Microsoft.PowerShell.Utility/Update-FormatData) cmdlet as described in the following procedure.--- You can create a module manifest that references your formatting file. Modules allow you to package you formatting files for distribution. Use the [New-ModuleManifest](/powershell/module/Microsoft.PowerShell.Core/New-ModuleManifest) cmdlet to create the manifest, and the [Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module) cmdlet to load the module into the current session. For more information about modules, see [Writing a Windows PowerShell Module](../module/writing-a-windows-powershell-module.md).--- You can create a snap-in that references your formatting file. Use the [System.Management.Automation.PSSnapIn.Formats](/dotnet/api/System.Management.Automation.PSSnapIn.Formats) to reference your formatting files. It is strongly encouraged to use modules to package cmdlets, and any associated formatting and types files for distribution. For more information about modules, see [Writing a Windows PowerShell Module](../module/writing-a-windows-powershell-module.md).--- If you are invoking commands programmatically, you can add a formatting file entry to the initial session state of the runspace where the commands are run. For more information about .NET type used to add the formatting file, see the [System.Management.Automation.Runspaces.Sessionstateformatentry?Displayproperty=Fullname](/dotnet/api/System.Management.Automation.Runspaces.SessionStateFormatEntry) class.-
-When a formatting file is loaded, it is added to an internal list that Windows PowerShell uses to determine which view to use when displaying objects at the command line. You can prepend your formatting file to the beginning of the list, or you can append it to the end of the list. Knowing where your formatting file is added to this list is important if you are loading formatting file that defines a view for an object that has an existing view defined, such as when you want to change how an object that is returned by a Windows PowerShell core cmdlet is displayed. If you are loading a formatting file that defines the only view for an object, you can use any of the methods described previously. If you are loading a formatting file that defines another view for an object, you must use the [Update-FormatData](/powershell/module/Microsoft.PowerShell.Utility/Update-FormatData) cmdlet and prepend your file to the beginning of the list.
+- You can import the formatting file into the current session from the command line. Use the [Update-FormatData](/powershell/module/Microsoft.PowerShell.Utility/Update-FormatData)
+ cmdlet as described in the following procedure.
+
+- You can create a module manifest that references your formatting file. Modules allow you to
+ package you formatting files for distribution. Use the [New-ModuleManifest](/powershell/module/Microsoft.PowerShell.Core/New-ModuleManifest)
+ cmdlet to create the manifest, and the [Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module)
+ cmdlet to load the module into the current session. For more information about modules, see [Writing a Windows PowerShell Module](../module/writing-a-windows-powershell-module.md).
+
+- You can create a snap-in that references your formatting file. Use the [System.Management.Automation.PSSnapIn.Formats](/dotnet/api/System.Management.Automation.PSSnapIn.Formats)
+ to reference your formatting files. It is strongly encouraged to use modules to package cmdlets,
+ and any associated formatting and types files for distribution. For more information about
+ modules, see [Writing a Windows PowerShell Module](../module/writing-a-windows-powershell-module.md).
+
+- If you are invoking commands programmatically, you can add a formatting file entry to the initial
+ session state of the runspace where the commands are run. For more information about .NET type
+ used to add the formatting file, see the [System.Management.Automation.Runspaces.Sessionstateformatentry?Displayproperty=Fullname](/dotnet/api/System.Management.Automation.Runspaces.SessionStateFormatEntry)
+ class.
+
+When a formatting file is loaded, it is added to an internal list that Windows PowerShell uses to
+determine which view to use when displaying objects at the command line. You can prepend your
+formatting file to the beginning of the list, or you can append it to the end of the list. Knowing
+where your formatting file is added to this list is important if you are loading formatting file
+that defines a view for an object that has an existing view defined, such as when you want to change
+how an object that is returned by a Windows PowerShell core cmdlet is displayed. If you are loading
+a formatting file that defines the only view for an object, you can use any of the methods described
+previously. If you are loading a formatting file that defines another view for an object, you must
+use the [Update-FormatData](/powershell/module/Microsoft.PowerShell.Utility/Update-FormatData)
+cmdlet and prepend your file to the beginning of the list.
## Storing Your Formatting File
-There is no requirement for where your formatting files are stored on disk. However, it is strongly suggested that you store them in the following folder: `user\documents\windowspowershell\`
+There is no requirement for where your formatting files are stored on disk. However, it is strongly
+suggested that you store them in the following folder: `user\documents\windowspowershell\`
#### Loading a format file using Import-FormatData 1. Store your formatting file to disk.
-2. Run the [Update-FormatData](/powershell/module/Microsoft.PowerShell.Utility/Update-FormatData) cmdlet using one of the following commands.
+1. Run the [Update-FormatData](/powershell/module/Microsoft.PowerShell.Utility/Update-FormatData)
+ cmdlet using one of the following commands.
- To add your formatting file to the front of the list use this command. Use this command if you are changing how an object is displayed.
+ To add your formatting file to the front of the list use this command. Use this command if you
+ are changing how an object is displayed.
```powershell Update-FormatData -PrependPath PathToFormattingFile
There is no requirement for where your formatting files are stored on disk. Howe
Update-FormatData -AppendPath PathToFormattingFile ```
- Once you have added a file using the [Update-FormatData](/powershell/module/Microsoft.PowerShell.Utility/Update-FormatData) cmdlet, you cannot remove the file from the list while the session is open. You must close the session to remove the formatting file from the list.
+ Once you have added a file using the [Update-FormatData](/powershell/module/Microsoft.PowerShell.Utility/Update-FormatData)
+ cmdlet, you cannot remove the file from the list while the session is open. You must close the
+ session to remove the formatting file from the list.
## Exporting format data
developer Name Element For Control For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/name-element-for-control-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Name Element for Control for Controls for Configuration (Format)
-description: Name Element for Control for Controls for Configuration (Format)
+ Title: Name Element for Control for Controls for Configuration
+description: Name Element for Control for Controls for Configuration
---
-# Name Element for Control for Controls for Configuration (Format)
+# Name Element for Control for Controls for Configuration
-Specifies the name of the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Specifies the name of the control. This element is used when defining a common control that can be
+used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-Name Element for Control for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- Name Element
## Syntax ```xml <Name>NameOfControl</Name>- ``` ## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `Name` element.
+The following sections describe attributes, child elements, and the parent element of the `Name`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Control Element for Controls for Configuration (Format)](./control-element-for-controls-for-configuration-format.md)|Defines a common control that can be used by all the views of the formatting file and the name that is used to reference the control.|
+|[Control Element for Controls for Configuration](./control-element-for-controls-for-configuration-format.md)|Defines a common control that can be used by all the views of the formatting file and the name that is used to reference the control.|
## Text Value
Specify the name that is used to reference this control.
The name specified here can be used in the following elements to reference this control. -- When creating a table, list, wide or custom control view, the control can be specified by the following element: [GroupBy Element for View (Format)](./groupby-element-for-view-format.md)
+- When creating a table, list, wide or custom control view, the control can be specified by the
+ following element: [GroupBy Element for View](./groupby-element-for-view-format.md)
-- When creating another common control, this control can be specified by the following element: [ExpressionBinding Element for CustomItem for Controls for Configuration (Format)](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
+- When creating another common control, this control can be specified by the following element: [ExpressionBinding Element for CustomItem for Controls for Configuration](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
-- When creating a control that can be used by a view, this control can be specified by the following element: [ExpressionBinding Element for CustomItem for Controls for View (Format)](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
+- When creating a control that can be used by a view, this control can be specified by the following
+ element: [ExpressionBinding Element for CustomItem for Controls for View](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
## See Also
-[Control Element for Controls for Configuration (Format)](./control-element-for-controls-for-configuration-format.md)
+[Control Element for Controls for Configuration](./control-element-for-controls-for-configuration-format.md)
-[ExpressionBinding Element for CustomItem for Controls for Configuration (Format)](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
+[ExpressionBinding Element for CustomItem for Controls for Configuration](./expressionbinding-element-for-customitem-for-controls-for-configuration-format.md)
-[ExpressionBinding Element for CustomItem for Controls for View (Format)](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
+[ExpressionBinding Element for CustomItem for Controls for View](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
-[GroupBy Element for View (Format)](./groupby-element-for-view-format.md)
+[GroupBy Element for View](./groupby-element-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Name Element For Control For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/name-element-for-control-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Name Element for Control for Controls for View (Format)
-description: Name Element for Control for Controls for View (Format)
+ Title: Name Element for Control for Controls for View
+description: Name Element for Control for Controls for View
---
-# Name Element for Control for Controls for View (Format)
+# Name Element for Control for Controls for View
Specifies the name of the control.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-Name Element for Control for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- Name Element
## Syntax
Name Element for Control for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `Name` element.
+The following sections describe attributes, child elements, and the parent element of the `Name`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[Control Element for Controls for View (Format)](./control-element-for-controls-for-view-format.md)|Defines a control that can be used by the view and the name that is used to reference the control.|
+|[Control Element for Controls for View](./control-element-for-controls-for-view-format.md)|Defines a control that can be used by the view and the name that is used to reference the control.|
## Text Value
Specify the name that is used to reference the control.
The name specified here can be used in the following elements to reference this control. -- When creating a table, list, wide or custom control view, the control can be specified by the following element: [GroupBy Element for View (Format)](./groupby-element-for-view-format.md)
+- When creating a table, list, wide or custom control view, the control can be specified by the
+ following element: [GroupBy Element for View](./groupby-element-for-view-format.md)
-- When creating another control that can be used by a view, this control can be specified by the following element: [ExpressionBinding Element for CustomItem for Controls for View (Format)](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
+- When creating another control that can be used by a view, this control can be specified by the
+ following element: [ExpressionBinding Element for CustomItem for Controls for View](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
## See Also
-[GroupBy Element for View (Format)](./groupby-element-for-view-format.md)
+[GroupBy Element for View](./groupby-element-for-view-format.md)
-[ExpressionBinding Element for CustomItem for Controls for View (Format)](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
+[ExpressionBinding Element for CustomItem for Controls for View](./expressionbinding-element-for-customitem-for-controls-for-view-format.md)
-[Control Element for Controls for View (Format)](./control-element-for-controls-for-view-format.md)
+[Control Element for Controls for View](./control-element-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Name Element For Selectionset Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/name-element-for-selectionset-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Name Element for SelectionSet (Format)
-description: Name Element for SelectionSet (Format)
+ Title: Name Element for SelectionSet
+description: Name Element for SelectionSet
---
-# Name Element for SelectionSet (Format)
+# Name Element for SelectionSet
Specifies the name used to reference the selection set.
-Configuration Element (Format)
-SelectionSets Element (Format)
-SelectionSet Element (Format)
-Name Element of SelectionSet (Format)
+## Schema
+
+- Configuration Element
+- SelectionSets Element
+- SelectionSet Element
+- Name Element
## Syntax
Name Element of SelectionSet (Format)
## Attributes and Elements
-The following sections describe the attributes, child elements, and parent element of the `Name` Element.
+The following sections describe the attributes, child elements, and parent element of the `Name`
+Element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[SelectionSet Element (Format)](./selectionset-element-format.md)|Defines a single set of .NET objects that can be referenced by the name of the set.|
+|[SelectionSet Element](./selectionset-element-format.md)|Defines a single set of .NET objects that can be referenced by the name of the set.|
## Text Value
-Specify the name to reference the selection set. There are no restrictions as to what characters can be used.
+Specify the name to reference the selection set. There are no restrictions as to what characters can
+be used.
## Remarks
-The name specified here is used in the `SelectionSetName` element. The selection set that can be used by a view, by a definition of a view (views can have multiple definitions), or when specifying a selection condition. For more information about selection sets, see [Defining Sets of Objects](./defining-selection-sets.md).
+The name specified here is used in the `SelectionSetName` element. The selection set that can be
+used by a view, by a definition of a view (views can have multiple definitions), or when specifying
+a selection condition. For more information about selection sets, see [Defining Sets of Objects](./defining-selection-sets.md).
## Example
-This example shows a `SelectionSet` element that defines four .NET types. The name of the selection set is "FileSystemTypes".
+This example shows a `SelectionSet` element that defines four .NET types. The name of the selection
+set is "FileSystemTypes".
```xml <SelectionSets>
This example shows a `SelectionSet` element that defines four .NET types. The na
[Defining Selection Sets](./defining-selection-sets.md)
-[SelectionSet Element (Format)](./selectionset-element-format.md)
+[SelectionSet Element](./selectionset-element-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Name Element For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/name-element-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: Name Element for View (Format)
-description: Name Element for View (Format)
+ Title: Name Element for View
+description: Name Element for View
---
-# Name Element for View (Format)
+# Name Element for View
Specifies the name that is used to identify the view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Name Element (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Name Element
## Syntax
Name Element (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `Name` element. Only one `Name` element is allowed for each view.
+The following sections describe attributes, child elements, and the parent element of the `Name`
+element. Only one `Name` element is allowed for each view.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[View Element (Format)](./view-element-format.md)|Defines a view that is used to display the members of one or more .NET objects.|
+|[View Element](./view-element-format.md)|Defines a view that is used to display the members of one or more .NET objects.|
## Text Value
-Specify a unique friendly name for the view. This name can include a reference to the type of the view (such as a table view or list view), which object or set of objects use the view, what command returns the objects, or a combination of these.
+Specify a unique friendly name for the view. This name can include a reference to the type of the
+view (such as a table view or list view), which object or set of objects use the view, what command
+returns the objects, or a combination of these.
## Remarks
-For more information about the different types of views, see the following topics: [Table View](./creating-a-table-view.md), [List View](./creating-a-list-view.md), [Wide View](./creating-a-wide-view.md), and [Custom View](./creating-custom-controls.md).
+For more information about the different types of views, see the following topics: [Table View](./creating-a-table-view.md),
+[List View](./creating-a-list-view.md), [Wide View](./creating-a-wide-view.md), and [Custom View](./creating-custom-controls.md).
## Example
-The following example shows a `View` element that defines a table view for the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController) object. The name of the view is "service".
+The following example shows a `View` element that defines a table view for the [System.Serviceprocess.Servicecontroller](/dotnet/api/System.ServiceProcess.ServiceController)
+object. The name of the view is "service".
```xml <View>
The following example shows a `View` element that defines a table view for the [
[Creating Custom Controls](./creating-custom-controls.md)
-[View Element (Format)](./view-element-format.md)
+[View Element](./view-element-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Newline Element For Customitem For Controls For Configuration Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/newline-element-for-customitem-for-controls-for-configuration-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: NewLine Element for CustomItem for Controls for Configuration (Format)
-description: NewLine Element for CustomItem for Controls for Configuration (Format)
+ Title: NewLine Element for CustomItem for Controls for Configuration
+description: NewLine Element for CustomItem for Controls for Configuration
---
-# NewLine Element for CustomItem for Controls for Configuration (Format)
+# NewLine Element for CustomItem for Controls for Configuration
-Adds a blank line to the display of the control. This element is used when defining a common control that can be used by all the views in the formatting file.
+Adds a blank line to the display of the control. This element is used when defining a common control
+that can be used by all the views in the formatting file.
-Configuration Element (Format)
-Controls Element of Configuration (Format)
-Control Element for Controls for Configuration (Format)
-CustomControl Element for Control for Configuration (Format)
-CustomEntries Element for CustomControl for Configuration (Format)
-CustomEntry Element for CustomControl for Controls for Configuration (Format)
-CustomItem Element for CustomEntry for Controls for Configuration
-NewLine Element for CustomItem for Controls for Configuration (Format)
+## Schema
+
+- Configuration Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- NewLine Element
## Syntax
NewLine Element for CustomItem for Controls for Configuration (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `NewLine` element.
+The following sections describe attributes, child elements, and the parent element of the `NewLine`
+element.
### Attributes
developer Newline Element For Customitem For Controls For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/newline-element-for-customitem-for-controls-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: NewLine Element for CustomItem for Controls for View (Format)
-description: NewLine Element for CustomItem for Controls for View (Format)
+ Title: NewLine Element for CustomItem for Controls for View
+description: NewLine Element for CustomItem for Controls for View
---
-# NewLine Element for CustomItem for Controls for View (Format)
+# NewLine Element for CustomItem for Controls for View
-Adds a blank line to the display of the control. This element is used when defining controls that can be used by a view.
+Adds a blank line to the display of the control. This element is used when defining controls that
+can be used by a view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-Controls Element (Format)
-Control Element for Controls for View (Format)
-CustomControl Element for Control for Controls for View (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for Controls for View (Format)
-CustomItem Element for CustomEntry for Controls for View (Format)
-NewLine Element for CustomItem for Controls for View (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- Controls Element
+- Control Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- NewLine Element
## Syntax
NewLine Element for CustomItem for Controls for View (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `NewLine` element.
+The following sections describe attributes, child elements, and the parent element of the `NewLine`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[CustomItem Element for CustomEntry for Controls for View (Format)](./customitem-element-for-customentry-for-controls-for-view-format.md)|Defines what data is displayed by the control and how it is displayed.|
+|[CustomItem Element for CustomEntry for Controls for View](./customitem-element-for-customentry-for-controls-for-view-format.md)|Defines what data is displayed by the control and how it is displayed.|
## Remarks ## See Also
-[CustomItem Element for CustomEntry for Controls for View (Format)](./customitem-element-for-customentry-for-controls-for-view-format.md)
+[CustomItem Element for CustomEntry for Controls for View](./customitem-element-for-customentry-for-controls-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Newline Element For Customitem For Customcontrol For View Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/newline-element-for-customitem-for-customcontrol-for-view-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: NewLine Element for CustomItem for CustomControl for View (Format)
-description: NewLine Element for CustomItem for CustomControl for View (Format)
+ Title: NewLine Element for CustomItem for CustomControl for View
+description: NewLine Element for CustomItem for CustomControl for View
---
-# NewLine Element for CustomItem for CustomControl for View (Format)
+# NewLine Element for CustomItem for CustomControl for View
-Adds a blank line to the display of the control. This element is used when defining a custom control view.
+Adds a blank line to the display of the control. This element is used when defining a custom control
+view.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-CustomControl Element (Format)
-CustomEntries Element for CustomControl for View (Format)
-CustomEntry Element for CustomEntries for View (Format)
-CustomItem Element for CustomEntry for View (Format)
-NewLine Element for CustomItem (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- NewLine Element
## Syntax
NewLine Element for CustomItem (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `NewLine` element.
+The following sections describe attributes, child elements, and the parent element of the `NewLine`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[CustomItem Element for CustomEntry for View (Format)](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)|Defines a control for the custom control view.|
+|[CustomItem Element for CustomEntry for View](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)|Defines a control for the custom control view.|
## Remarks ## See Also
-[CustomItem Element for CustomEntry for View (Format)](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)
+[CustomItem Element for CustomEntry for View](./customitem-element-for-customentry-for-customcontrol-for-view-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Newline Element For Customitem For Groupby Format https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/format/newline-element-for-customitem-for-groupby-format.md
--- Previously updated : 09/13/2016 Last updated : 08/23/2021 Title: NewLine Element for CustomItem for GroupBy (Format)
-description: NewLine Element for CustomItem for GroupBy (Format)
+ Title: NewLine Element for CustomItem for GroupBy
+description: NewLine Element for CustomItem for GroupBy
---
-# NewLine Element for CustomItem for GroupBy (Format)
+# NewLine Element for CustomItem for GroupBy
-Adds a blank line to the display of the control. This element is used when defining how a new group of objects is displayed.
+Adds a blank line to the display of the control. This element is used when defining how a new group
+of objects is displayed.
-Configuration Element (Format)
-ViewDefinitions Element (Format)
-View Element (Format)
-GroupBy Element for View (Format)
-CustomControl Element for GroupBy (Format)
-CustomEntries Element for CustomControl for GroupBy (Format)
-CustomEntry Element for CustomControl for GroupBy (Format)
-CustomItem Element for CustomEntry for GroupBy (Format)
-NewLine Element for CustomItem for GroupBy (Format)
+## Schema
+
+- Configuration Element
+- ViewDefinitions Element
+- View Element
+- GroupBy Element
+- CustomControl Element
+- CustomEntries Element
+- CustomEntry Element
+- CustomItem Element
+- NewLine Element
## Syntax
NewLine Element for CustomItem for GroupBy (Format)
## Attributes and Elements
-The following sections describe attributes, child elements, and the parent element of the `NewLine` element.
+The following sections describe attributes, child elements, and the parent element of the `NewLine`
+element.
### Attributes
None.
|Element|Description| |-------------|-----------------|
-|[CustomItem Element for CustomEntry for GroupBy (Format)](./customitem-element-for-customentry-for-groupby-format.md)|Defines a control for the custom control view.|
+|[CustomItem Element for CustomEntry for GroupBy](./customitem-element-for-customentry-for-groupby-format.md)|Defines a control for the custom control view.|
## Remarks ## See Also
-[CustomItem Element for CustomEntry for GroupBy (Format)](./customitem-element-for-customentry-for-groupby-format.md)
+[CustomItem Element for CustomEntry for GroupBy](./customitem-element-for-customentry-for-groupby-format.md)
[Writing a PowerShell Formatting File](./writing-a-powershell-formatting-file.md)
developer Importing A Powershell Module https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/developer/module/importing-a-powershell-module.md
--- Previously updated : 02/03/2020 Last updated : 08/23/2021 Title: Importing a PowerShell Module description: Importing a PowerShell Module
their PowerShell session. In PowerShell 2.0, you can import a newly-installed Po
a call to [Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module) cmdlet. In PowerShell 3.0, PowerShell is able to implicitly import a module when one of the functions or cmdlets in the module is called by a user. Note that both versions assume that you install your
-module in a location where PowerShell is able to find it; for more information, see [Installing a PowerShell Module](./installing-a-powershell-module.md).
-You can use a module manifest to restrict what parts of your module are exported, and you can use
-parameters of the `Import-Module` call to restrict what parts are imported.
+module in a location where PowerShell is able to find it; for more information, see
+[Installing a PowerShell Module](./installing-a-powershell-module.md). You can use a module manifest
+to restrict what parts of your module are exported, and you can use parameters of the
+`Import-Module` call to restrict what parts are imported.
## Importing a Snap-In (PowerShell 1.0) Modules did not exist in PowerShell 1.0: instead, you had to register and use snap-ins. However, it is not recommended that you use this technology at this point, as modules are generally easier to
-install and import. For more information, see [How to Create a Windows PowerShell Snap-in](../cmdlet/how-to-create-a-windows-powershell-snap-in.md).
+install and import. For more information, see
+[How to Create a Windows PowerShell Snap-in](../cmdlet/how-to-create-a-windows-powershell-snap-in.md).
## Importing a Module with Import-Module (PowerShell 2.0)
-PowerShell 2.0 uses the appropriately-named [Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module)
-cmdlet to import modules. When this cmdlet is run, Windows PowerShell searches for the specified
-module within the directories specified in the `PSModulePath` variable. When the specified directory
-is found, Windows PowerShell searches for files in the following order: module manifest files
-(.psd1), script module files (.psm1), binary module files (.dll). For more information about adding
-directories to the search, see [Modifying the PSModulePath Installation Path](./modifying-the-psmodulepath-installation-path.md).
+PowerShell 2.0 uses the appropriately-named
+[Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module) cmdlet to import
+modules. When this cmdlet is run, Windows PowerShell searches for the specified module within the
+directories specified in the `PSModulePath` variable. When the specified directory is found, Windows
+PowerShell searches for files in the following order: module manifest files (.psd1), script module
+files (.psm1), binary module files (.dll). For more information about adding directories to the
+search, see
+[Modifying the PSModulePath Installation Path](./modifying-the-psmodulepath-installation-path.md).
The following code describes how to import a module: ```powershell
information, see **Restricting Members That Are Imported**, below.
## Implicitly Importing a Module (PowerShell 3.0) Beginning in Windows PowerShell 3.0, modules are imported automatically when any cmdlet or function
-in the module is used in a command. This feature works on any module in a directory that this
-included in the value of the **PSModulePath** environment variable. If you do not save your module
-on a valid path however, you can still load them using the explicit [Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module)
-option, described above.
+in the module is used in a command. This feature works on any module in a directory that is included
+in the value of the **PSModulePath** environment variable. If you do not save your module on a valid
+path however, you can still load them using the explicit
+[Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module) option, described above.
The following actions trigger automatic importing of a module, also known as "module auto-loading."
cmdlet.
## The Importing Process
-When a module is imported, a new session state is created for the module, and a [System.Management.Automation.PSModuleInfo](/dotnet/api/System.Management.Automation.PSModuleInfo)
+When a module is imported, a new session state is created for the module, and a
+[System.Management.Automation.PSModuleInfo](/dotnet/api/System.Management.Automation.PSModuleInfo)
object is created in memory. A session-state is created for each module that is imported (this includes the root module and any nested modules). The members that are exported from the root module, including any members that were exported to the root module by any nested modules, are then
populated with the name of the module that exported them.
> [!WARNING] > If the name of an exported member uses an unapproved verb or if the name of the member uses
-> restricted characters, a warning is displayed when the [Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module)
-> cmdlet is run.
+> restricted characters, a warning is displayed when the
+> [Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module) cmdlet is run.
By default, the [Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module) cmdlet does not return any objects to the pipeline. However, the cmdlet supports a **PassThru** parameter
-that can be used to return a [System.Management.Automation.PSModuleInfo](/dotnet/api/System.Management.Automation.PSModuleInfo)
-object for each module that is imported. To send output to the host, users should run the [Write-Host](/powershell/module/Microsoft.PowerShell.Utility/Write-Host)
-cmdlet.
+that can be used to return a
+[System.Management.Automation.PSModuleInfo](/dotnet/api/System.Management.Automation.PSModuleInfo)
+object for each module that is imported. To send output to the host, users should run the
+[Write-Host](/powershell/module/Microsoft.PowerShell.Utility/Write-Host) cmdlet.
## Restricting the Members That Are Imported
-When a module is imported by using the [Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module)
-cmdlet, by default, all exported module members are imported into the session, including any
-commands exported to the module by a nested module. By default, variables and aliases are not
-exported. To restrict the members that are exported, use a [module manifest](./how-to-write-a-powershell-module-manifest.md).
-To restrict the members that are imported, use the following parameters of the `Import-Module`
-cmdlet.
+When a module is imported by using the
+[Import-Module](/powershell/module/Microsoft.PowerShell.Core/Import-Module) cmdlet, by default, all
+exported module members are imported into the session, including any commands exported to the module
+by a nested module. By default, variables and aliases are not exported. To restrict the members that
+are exported, use a [module manifest](./how-to-write-a-powershell-module-manifest.md). To restrict
+the members that are imported, use the following parameters of the `Import-Module` cmdlet.
- **Function**: This parameter restricts the functions that are exported. (If you are using a module manifest, see the FunctionsToExport key.)
install Installing Powershell Core On Linux https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/docs-conceptual/install/Installing-PowerShell-Core-on-Linux.md
Optionally, you can create a symbolic link to start PowerShell without specifyin
```sh # Start PowerShell from bash with sudo to create a symbolic link
-sudo ~/powershell/pwsh -c New-Item -ItemType SymbolicLink -Path "/usr/bin/pwsh" -Target "$PSHOME/pwsh" -Force
+sudo ~/powershell/pwsh -command 'New-Item -ItemType SymbolicLink -Path "/usr/bin/pwsh" -Target "$PSHOME/pwsh" -Force'
# alternatively you can run following to create a symbolic link # sudo ln -s ~/powershell/pwsh /usr/bin/pwsh