Export (0) Print
Expand All

Import-BinaryMiLog

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

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.

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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft