NAME
Format-Wide
SYNOPSIS
Formats objects as a wide table that displays only one property of each object.SYNTAX
Format-Wide [[-Property]
Both}] [-Force] [-GroupBy
DESCRIPTION
The Format-Wide cmdlet formats objects as a wide table that displays only one property of each object. You can use
the Property parameter to determine which property is displayed.PARAMETERS
-AutoSize [
Indicates that this cmdlet adjusts the column size and number of columns based on the width of the data. By default, the column size and number are determined by the view. You cannot use the AutoSize and Column parameters in the same command. Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false] -Column
Specifies the number of columns in the display. You cannot use the AutoSize and Column parameters in the same command. Required? false Position? named Default value None Accept pipeline input? False Accept wildcard characters? false-DisplayError [
Indicates that this cmdlet displays errors at the command line. This parameter is rarely used, but can be used] as a debugging aid when you are formatting expressions in a Format-Wide command, and the expressions do not
appear to be working. The following shows an example of the results of adding the DisplayError parameter with an expression.PS > Get-Date | Format-Wide DayOfWeek,{ $_ / $null } -ShowError DayOfWeek $_ / $null --------- ------------
Wednesday #ERR Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false-Expand
Specifies the format of the collection object, as well as the objects in the collection. This parameter is designed to format objects that support the ICollection (System.Collections) interface. The default value is EnumOnly. The acceptable values for this parameter are:- EnumOnly. Displays the properties of the objects in the collection. - CoreOnly. Displays the properties of
the collection object. - Both. Displays the properties of the collection object and the properties of objects
in the collection. Required? false Position? named Default value None Accept pipeline input? False Accept wildcard characters? false-Force [
Indicates that this cmdlet overrides restrictions that prevent the command from succeeding, just so the] changes do not compromise security. For instance, Force will override the read-only attribute or create
directories to complete a file path, but it will not attempt to change file permissions. Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false-GroupBy
Specifies the format of the output in groups based on a shared property or value. Enter an expression or a property of the output. The value of the GroupBy parameter can be a new calculated property. To create a calculated, property, use a hash table. The acceptable values for this parameter are:- Name (or Label)
- Expression
or