PowerShell Logo Small

Import-Clixml



This is the built-in help made by Microsoft for the command 'Import-Clixml', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' 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[]> [-First [<SwitchParameter>]] [-Skip [<SwitchParameter>]] [-IncludeTotalCount [<SwitchParameter>]]
[<CommonParameters>]
Import-Clixml -LiteralPath <String[]> [-First [<SwitchParameter>]] [-Skip [<SwitchParameter>]] [-IncludeTotalCount [<SwitchParameter>]]
[<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
PowerShell.



<

RELATED LINKS


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

REMARKS

<

Examples


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

PS C:\>get-process | export-clixml pi.xml
PS C:\>$processes = import-clixml pi.xml



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.