Import-BinaryMiLog

Import-BinaryMiLog

Imports a binary MI log file and creates the corresponding objects in Windows PowerShell.

Syntax

Parameter Set: Default
Import-BinaryMiLog [-Path] <String> [ <CommonParameters>]

Detailed Description

The Import-BinaryMILog cmdlet imports a binary MI log file that was created by using the Export-BinaryMILog command that contains data representing objects and then creates the objects in Windows PowerShell.

Parameters

-Path<String>

Specified the log file to import.

The Path parameter supports wild cards, and relative paths. The cmdlet generates an error if the path resolves to more than one file.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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

Description

-----------

This example recreates the CimInstances from the data file created in the example for Export-BinaryMILog and saves it to a PowerShell variable.

PS C:\> $processes = Import-BinaryMiLog -Path Processes.bmil

Export-BinaryMILog