Export-BinaryMiLog

Export-BinaryMiLog

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

구문

Parameter Set: Default
Export-BinaryMiLog [-Path] <String> [-InputObject <CimInstance> ] [ <CommonParameters>]

자세한 설명

The Export-BinaryMILog cmdlet creates an 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.

매개 변수

-InputObject<CimInstance>

이 cmdlet에 대한 입력을 지정합니다. 이 매개 변수를 사용하거나 입력을 이 cmdlet으로 파이프할 수 있습니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByValue)

와일드카드 문자 허용 여부

false

-Path<String>

Specifies the path to the file where the binary representation of the object will be stored.

The Path parameter supports wild cards and relative paths. The cmdlet generates an error if the path resolves to more than one file.

별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

예제

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

This example exports CimInstances to a binary MI log file specified by the -Path parameter. See the example for Import-BinaryMILog to see how to recreate the CimInstances by importing this file.

PS C:\> Get-CimInstance Win32_Process | Export-BinaryMiLog -Path Processes.bmil

관련 항목

Import-BinaryMILog