Set-SilAggregator

Set-SilAggregator

Sets values for the polling start time and the polling interval.

構文

Parameter Set: HostPollIntervalInHours
Set-SilAggregator [-AddCertificateThumbprint <System.String[]> ] [-Force] [-HostPollIntervalInHours <Int32> ] [-PollStartTime <DateTime> ] [-RemoveCertificateThumbprint <System.String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: pollStartTime
Set-SilAggregator -PollStartTime <DateTime> [-AddCertificateThumbprint <System.String[]> ] [-Force] [-RemoveCertificateThumbprint <System.String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-SilAggregator cmdlet sets values for the polling start time and the polling interval of the Software Inventory Logging Aggregator.

パラメーター

-AddCertificateThumbprint<System.String[]>

Specifies an array of collector thumbprints that this cmdlet adds to the aggregator. The aggregator validates incoming requests by using collector thumbprints.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-Force

ユーザーの確認を求めることなく、コマンドを強制的に実行します。

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-HostPollIntervalInHours<Int32>

Specifies the polling interval in hours. このパラメーターに指定できる値は、次のとおりです。 integers from 1 to 168. A value of 168 is once per week.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-PollStartTime<DateTime>

Specifies the polling start date and time, at least one hour in the future.

Aliases

none

必須/オプション

true

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-RemoveCertificateThumbprint<System.String[]>

Specifies an array of collector thumbprints that this cmdlet removes from the aggregator.

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-Confirm

コマンドレットを実行する前に確認メッセージを表示します。

必須/オプション

false

位置

named

既定値

false

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-WhatIf

コマンドレットが実行された場合に何が起きるのかを示します。コマンドレットは実行されません。

必須/オプション

false

位置

named

既定値

false

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

<CommonParameters>

このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットが出力するオブジェクトの型です。

使用例

Example 1: Set polling interval

This command sets the value of the host polling interval to every five hours.

PS C:\> Set-SilAggregator -HostPollIntervalInHours 5

Example 2: Set start time for polling

This command sets the value of time to start host polling.

PS C:\> Set-SilAggregator -PollStartTime "2014-10-01 15:08:46" 

Example 3: Set aggregator values

This command sets the value of the host polling interval to every five hours and sets the value of time to start host polling.

PS C:\> Set-SilAggregator -HostPollIntervalInHours 5 -PollStartTime "2014-10-01 15:08:46"

Example 4: Add Certificate Thumbprint

This command adds a certificate thumbprint. The local Aggregator now accepts this thumbprint.

PS C:\> Set-SilAggregator –AddCertificateThumbprint "a612eb2dec5e2336e3e7ab116e7ca43eb5f9960b"

関連項目

Get-SilAggregator

Start-SilAggregator

Stop-SilAggregator

Software Inventory Logging Cmdlets in Windows PowerShell