Windows PowerShell command on Get-command Import-BinaryMiLog
MyWebUniversity

Windows PowerShell command on Get-command Import-BinaryMiLog

NAME

Import-BinaryMiLog

SYNOPSIS

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

SYNTAX

Import-BinaryMiLog [-Path] []

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

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 This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/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



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™