Update and append format data files.
Syntax
Update-FormatData [[-appendPath] string[]]
[-prependPath string[]] [CommonParameters]
Key
-appendPath string[]
Path to additional .ps1xml format files to be loaded.
These files will be processed in the order they are
specified and after the built-in files are loaded.
-prependPath string[]
Path to additional .ps1xml format files to be loaded.
These files will be processed in the order they are
specified and before the built-in files are loaded.
CommonParameters:
-Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutVariable.
Examples
Update the shell format configuration from the built-in files:
PS C:\>update-formatdata
Update the shell format configuration from the built-in files plus two additional files:
PS C:\>update-typedata -prependpath RedFormat.format.Ps1xml,GreyFormat.format.Ps1xml
“Clothes and manners do not make the man; but, when he is made, they greatly improve his appearance” - Henry Ward Beecher
Related Powershell Commands:
Update-Typedata - Update the types.mshxml file in the Microsoft Shell