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 wildcard characters 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: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

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: Import a binary MI log file

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"

Related topics

Community Additions

ADD
Show: