< Back
Import-BinaryMiLog
Post
NAME Import-BinaryMiLog
SYNOPSIS
Imports a binary MI log file and creates the corresponding objects in Windows PowerShell.
SYNTAX
Import-BinaryMiLog [-Path] <String> [<CommonParameters>]
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.
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, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1: Import a binary MI log file
PS C:\\> $Processes = Import-BinaryMiLog -Path "Processes.bmil"
This example recreates the CimInstances from the data file created in the example for Export-BinaryMiLog and saves it to a PowerShell variable.
RELATED LINKS
Online Version:
Export-BinaryMiLog
SYNOPSIS
Imports a binary MI log file and creates the corresponding objects in Windows PowerShell.
SYNTAX
Import-BinaryMiLog [-Path] <String> [<CommonParameters>]
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.
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, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Example 1: Import a binary MI log file
PS C:\\> $Processes = Import-BinaryMiLog -Path "Processes.bmil"
This example recreates the CimInstances from the data file created in the example for Export-BinaryMiLog and saves it to a PowerShell variable.
RELATED LINKS
Online Version:
Export-BinaryMiLog