PowerShell Logo Small

Update-TypeData



This is the built-in help made by Microsoft for the command 'Update-TypeData', in PowerShell version 2 - as retrieved from Windows version 'Microsoft® Windows Vista™ Ultimate ' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Updates the current extended type configuration by reloading the *.types.ps1xml files into memory.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Update-TypeData cmdlet updates the current extended type configuration by reloading the *.types.ps1xml files into memory. Extended type infor
mation is normally loaded when Windows PowerShell requires the type information it contains. The Update-TypeData cmdlet can be used to preload al
l 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.



<

RELATED LINKS


Online version: http://go.microsoft.com/fwlink/?LinkID=113421

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>update-typedata



Description
-----------
This example updates the extended type configuration from the *.types.ps1xml files.








-------------------------- EXAMPLE 2 --------------------------

C:\PS>update-typedata -prependpath typesA.types.Ps1xml, typesB.types.Ps1xml



Description
-----------
This example updates the extended type configuration from the *.types.ps1xml files, processing the typesA and typesB files first.