Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Format-List

Format-List - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.

Format-List


Short description
Formats the output as a list of properties in which each property appears on a new line.

Syntax
Format-List [[-Property] <Object[]>] [-DisplayError] [-Expand <string>] [-Force] [-GroupBy <Object>] [-InputObject 
    <psobject>] [-ShowError] [-View <string>] [<CommonParameters>]

Description
The Format-List cmdlet formats the output of a command as a list of properties in which each property is displayed 
    on a separate line. You can use Format-List to format and display all or selected properties of an object as a list
     (format-list *).
    
    Because more space is available for each item in a list than in a table, Windows PowerShell displays more propertie
    s of the object in the list, and the property values are less likely to be truncated.