Updates and appends format data files.
Snap-In: Microsoft.PowerShell.Utility
Syntax:
Update-FormatData [
[-AppendPath] <String[]>] [-PrependPath <String[]>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The Ps directory contains several format files. They have the suffix .ps1xml and are XML files. When you start a shell, Ps installs the format data from those files so the shell can run. You can build your own format.ps1xml files. When you do, the update-formatdata Cmdlet adds those files to the format data that it loads in the shell. You do not need to restart the shell to update the format data.