Imports a CLIXML file and creates corresponding objects within Windows PowerShell. (Import-Clixml)



Imports a CLIXML file and creates corresponding objects within Windows PowerShell.

Import-Clixml [-Path] <string[]> [<CommonParameters>]

The Import-Clixml cmdlet imports a CLIXML file with data that represents Microsoft .NET Framework objects and creates the objects in Windows PowerShell.

-Path <string[]>
Specifies the location of the XML files to be converted into Windows PowerShell objects.

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

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

You can pipe a string that contains a path to Import-Clixml.

Import-Clixml returns objects that have been deserialized from the stored XML files.


When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".


C:\PS>get-process | export-clixml pi.xml

C:\PS> $processes = import-clixml pi.xml

# Description
This command uses the Export-Clixml cmdlet to save a serialized copy of the process information returned by Get-Process. It then uses Import-Clixml to retrieve the contents of the serialized file and re-create an object that is stored in the $processes variable.

Online version:

C:\Windows>powershell get-help ConvertTo-XML -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 How To

... Windows 10 FAQ
... Windows 10 How To

PowerShell: Imports a CLIXML file and creates corresponding objects within Windows PowerShell.

HTTP: ... PS_Windows/en/Import-Clixml.htm

Can I also use the file-time software commercially?


Hide cursor after Windows 11/10 update is gone, what did I do wrong?


Kann ich auch Verknüpfungen am Windows 11 Desktop erstellen!


Windows 10 Update and Folder Protection turn off and on, how to?


Change Windows Colors in Windows-10, (title bar, border)!


Quick Text Paste commands and wildcards (placeholder)!


Is there a rich text editor under Windows 11, 10, 8.1, ...?


Are there problems with certain image formats when reading the images?


Customize the Windows 8.1 / 10 desktop!


Right Practically the short benchmark the Fastest test for SSD, HD, USB, ...!


What are wakelocks?


Can I find Windows 8:! On-Screen Keyboard, (10, open, start, run, osk.exe)?