Update the current extended type configuration by reloading the *.types.ps1xml files into memory.
Syntax Update-TypeData [[-AppendPath] string] [-PrependPath string] [-Confirm] [-WhatIf] [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. -Confirm Prompt for confirmation before executing the command. -WhatIf Describe what would happen if you executed the command without actually executing it. CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer -OutVariable.
Extended type information is normally loaded when PowerShell requires the type information it contains. Update-TypeData can be used to preload all type information. It is particularly useful when you are developing types and want to load those new types for testing purposes.
Update the extended type configuration from the *.types.ps1xml files:
PS C:\> update-typedata
Update the extended type configuration from the *.types.ps1xml files, processing the typesA and typesB files first:
PS C:\> update-typedata -prependpath typesA.types.Ps1xml, typesB.types.Ps1xml
"It is relatively easy to design for the perfect cases, when everything goes right, or when all the information required is available in proper format" ~ Donald Norman
Update-Formatdata - Update and append format data files