PowerShell Logo Small

Import-Clixml



This is the built-in help made by Microsoft for the command 'Import-Clixml', 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

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

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


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



<

RELATED LINKS


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

REMARKS

<

Examples


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

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-Clix
ml to retrieve the contents of the serialized file and re-create an object that is stored in the $processes variable.