Update-TypeData - PowerShell


 

Updates the current extended type configuration by reloading the *.types.ps1xml files into memory. (Update-TypeData)

   

# NAME
Update-TypeData

# 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>]

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

# PARAMETERS
-AppendPath <string[]>
Specifies the path to the optional .ps1xml files that will be included in the list of files loaded. These are processed after the built-in files are loaded.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-PrependPath <string[]>
Specifies the path to the optional .ps1xml files that will be included in the list of files loaded. However, these files are processed in the order they are specified and before the built-in files are loaded.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm [<SwitchParameter>]
Prompts you for confirmation before executing the command.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf [<SwitchParameter>]
Describes what would happen if you executed the command without actually executing the command.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

# INPUTS
System.String
You can pipe a string that contains the append path to Update-TypeData.

# OUTPUTS
None
This cmdlet does not return any output.

# NOTES

# 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.

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

C:\Windows>powershell get-help Update-FormatData -full

ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2014 Microsoft Corporation.

OS: Windows 10, 8.1, 8, 7, Vista / Windows Server 2016, 2012, 2008
»»»» ColorConsole








Windows-10





Windows-10

... facebook.de
... Windows-10 FAQ
... Windows-10 Info


Become a Sponsor
... Your button here?





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

HTTP: ... PS_Windows/en/Update-TypeData.htm
0.14
16772

Hidden feature, multiple clipboards in QTP!

 /

How do I change the position of the desktop clock?

 /

Why can I not update to the new Windows 10?

 /

Command to open Advanced sharing settings in Windows 10?

 /

Am Notebook / Laptop JKL ist 123, was kann ich machen?

 /

Don't Sleep Auto-Start Windows 10, 8.1, 7 ...?

 /

Popup Menus in the File Manager in each explorer list view!

 /

Prevent Recovery of deleted files under Windows 10 / 8.1 without additional software!

 /

Why the days in the left area to the date difference output?

 /

How do I improve working with the keyboard on Windows 10?

 /

Warum Produktaktivierung bei Windows-7 / 10, plus Gültigkeitsprüfung und Echtheitszertifikat?

 /

Can i activate the classic design in Windows 10 (98 or 95)!

 /