Import-Clixml - PowerShell command help and examples

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


NAME
Import-Clixml
SYNOPSIS
Imports a CLIXML file and creates corresponding objects within Windows PowerShell.
SYNTAX
Import-Clixml [-Path] <string[]> [<CommonParameters>]
DESCRIPTION
The Import-Clixml cmdlet imports a CLIXML file with data that represents Microsoft .NET Framework objects and creates the objects in Windows PowerShell.
PARAMETERS
-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 <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 a path to Import-Clixml.
OUTPUTS
PSObject Import-Clixml returns objects that have been deserialized from the stored XML files.
NOTES
When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

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-Clixml to retrieve the contents of the serialized file and re-create an object that is stored in the $processes variable. RELATED LINKS Online version: http://go.microsoft.com/fwlink/?LinkID=113340 C:\Windows>powershell get-help ConvertTo-XML -full

Microsoft Windows [Version 10.0.19045.3693]
Copyright (c) 2023 Microsoft Corporation.

ColorConsole [Version 3.7.1000] PowerShell 2.0-Export

Windows 11, 10, 8.1, 8, 7 / Server 2022, 2019, 2016











Windows-10


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


Windows 10 How To


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



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

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

Activate file extension in the file-type column!

Manage Playback and Record devices on Windows 11!

Image Comparison - Preview in Internal Explorer and Image Viewer!

What are blue double arrows in File Explorer Windows 11, 10?

The calendar for the Windows 11, 10, ... and MS Server Desktop! 

In Tree-view is it possible to make the hover time to expand adjustable xx Seconds!



(0)