Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Format-Custom

Format-Custom - 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.


Short description
Uses a customized view to format the output.

Format-Custom [[-Property] <Object[]>] [-Depth <int>] [-DisplayError] [-Expand <string>] [-Force] [-GroupBy <Object
>] [-InputObject <psobject>] [-ShowError] [-View <string>] [<CommonParameters>]

The Format-Custom cmdlet formats the output of a command as defined in an alternate view. Format-Custom is designed
 to display views that are not just tables or just lists. You can use the views defined in the *format.PS1XML files
 in the Windows PowerShell directory, or you can create your own views in new PS1XML files and use the Update-Forma
tData cmdlet to add them to Windows PowerShell.