PowerShell Logo Small

Format-Wide



This is the built-in help made by Microsoft for the command 'Format-Wide', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Formats objects as a wide table that displays only one property of each object.

SYNTAX


Format-Wide [[-Property] [<Object>]] [-AutoSize] [-Column [<Int32>]] [-DisplayError] [-Expand {CoreOnly | EnumOnly | Both}] [-Force] [-GroupBy [<Object>]]
[-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]] [-InputObject [<PSObject>]] [-ShowError]
[-View [<String>]] [<CommonParameters>]



Search powershellhelp.space

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.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=293963

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

PS C:\>get-childitem | format-wide -column 3



This command displays the names of files in the current directory in three columns across the screen. The Get-ChildItem cmdlet gets objects representing each file in the
directory. The pipeline operator (|) passes the file objects through the pipeline to Format-Wide, which formats them for output. The Column parameter specifies the number of
columns.










-------------------------- EXAMPLE 2 --------------------------

PS C:\>get-childitem HKCU:\software\microsoft | format-wide -property pschildname -autosize



This command displays the names of registry keys in the HKEY_CURRENT_USER\Software\Microsoft key. The Get-ChildItem cmdlet gets objects representing the keys. The path is
specified as "HKCU:", one of the drives exposed by the Windows PowerShell Registry provider, followed by the key path. The pipeline operator (|) passes the registry key
objects through the pipeline to Format-Wide, which formats them for output. The Property parameter specifies the name of the property, and the AutoSize parameter adjusts the
columns for readability.