Publish-SilData

Publish-SilData

Initiates a point in time collection of Software Inventory Logging data and forwards it, along with any accumulated historical data, to the aggregation server. Windows Server 2012 R2 with KB3000850 applied. For more information, see https://support.microsoft.com/kb/3000850.

구문

Parameter Set: CollectThenFlush
Publish-SilData [[-FileName] <String> ] [-AsJob] [-CheckCollectionHistory] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: FlushOnly
Publish-SilData [-AsJob] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [-UseCacheOnly] [ <CommonParameters>]

자세한 설명

The Publish-SilData cmdlet initiates a point in time collection of all Software Inventory Logging data, and forwards the data over the network to an aggregation server, if one is specified. To identify the aggregation server, specify the TargetUri parameter of the Set-SilLogging cmdlet. If Software Inventory Logging was started by an administrator by using the Start-SilLogging cmdlet, hourly collection and forwarding of data to the aggregation server commences. In cases where Software Inventory Logging does not receive an acknowledgement from the aggregation server that data forwarding was successfully received, the feature stores that data locally and attempts to forward both cached and current data during the next scheduled forward attempt. Once the cached and current data has been forwarded successfully, the feature deletes all historical data from the local server.

매개 변수

-AsJob

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-CheckCollectionHistory

Indicates that this cmdlet checks whether the current data set varies from the previous collection results. If it does vary, this cmdlet publishes a full set of the data to the aggregation server at the target uniform resource identifier (URI). If the data set does not vary, this cmdlet publishes a small package of data that identifies the computer to the aggregation server.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-CimSession<CimSession[]>

원격 세션에서 또는 원격 컴퓨터에서 cmdlet을 실행합니다. New-CimSession 또는 Get-CimSession cmdlet의 출력과 같은 컴퓨터 이름이나 세션 개체를 입력합니다. 기본값은 로컬 컴퓨터의 현재 세션입니다.

별칭

Session

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-FileName<String>

Specifies the name of a file. This file is used by Software Inventory Logging to define the data sources. Because Software Inventory Logging has an inherent default value, you do not usually need to specify this parameter.

별칭

없음

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ThrottleLimit<Int32>

이 cmdlet을 실행하도록 설정할 수 있는 최대 동시 작업 수를 지정합니다. 이 매개 변수가 생략되거나 값 0이 입력되면 Windows PowerShell®은 컴퓨터에서 실행 중인 CIM cmdlet의 수에 따라 cmdlet에 대한 최적의 제한 한도를 계산합니다. 제한 한도는 현재 cmdlet에만 적용되며 세션이나 컴퓨터에는 적용되지 않습니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-UseCacheOnly

Indicates that the server can publish stored data to the aggregation server without triggering a point in time collection of all Software Inventory Logging data.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

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

입력

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

출력

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

  • None

예제

Example 1: Forward Software Inventory Logging data

This command initiates a point in time data collection of Software Inventory Logging data and forwards the data to an aggregation server. To identify the aggregation server, specify the TargetUri parameter of the Set-SilLogging cmdlet.

PS C:\> Publish-SilData

관련 항목

Get-SilData

Set-SilLogging

Start-SilLogging