Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Update-TypeData

Update-TypeData - 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
Updates the current extended type configuration by reloading the *.types.ps1xml files into memory.

Update-TypeData [[-AppendPath] <string[]>] [-PrependPath <string[]>] [-Confirm] [-WhatIf] [<CommonParameters>]

The Update-TypeData cmdlet updates the current extended type configuration by reloading the *.types.ps1xml files in
to memory. Extended type information is normally loaded when Windows PowerShell requires the type information it co
ntains. The Update-TypeData cmdlet 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.

For more information about the *types.ps1xml files in Windows PowerShell, see about_Types.ps1xml.