CmdID

CmdID / PowerShell / Cmdlets / Export

Export-BinaryMiLog

Creates a binary encoded representation of an object or objects and stores it in a file. PowerShell reference

From the PowerShell reference 2 parameters

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Creates a binary encoded representation of an object or objects and stores it in a file. The Export-BinaryMILog cmdlet creates a binary-based representation of an object or objects and stores it in a file. You can then use the Import-BinaryMiLog cmdlet to re-create the saved object based on the contents of that file. This cmdlet is similar to Import-Clixml, except that Export-BinaryMILog stores the resulting object in a binary encoded file.

Export-BinaryMiLog [-InputObject <CimInstance>] [-Path] <String> [<CommonParameters>]

Example 1 - Create a binary representation of CimInstances

Get-CimInstance Win32_Process | Export-BinaryMiLog -Path "Processes.bmil"Identify

Its page in the reference: Export-BinaryMiLog.

Parameters

2 in the PowerShell reference
-InputObjectSpecifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.
-PathSpecifies the path of the file in which to store the binary representation of the object. The Path parameter supports wildcards and relative paths. This cmdlet generates an error if the path resolves to more than one file.