Display the Properties of an Item As a List in Windows PowerShell
Problem
You have an item (for example, an error record, directory item, or .NET object), and you want to display detailed information about that object in a list format.
Solution
To display detailed information about an item, pass that item to the FormatList cmdlet. For example, to display an error in list format, type the commands:
$currentError = $error[0] $currentError | FormatList Force
Discussion