Start-SilAggregator

Start-SilAggregator

Starts the Software Inventory Logging Aggregator.

语法

Parameter Set: Default
Start-SilAggregator [-Force] [-HostPollIntervalInHours <Int32> ] [-PollStartTime <DateTime> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

详细说明

The Start-SilAggregator cmdlet starts the Software Inventory Logging Aggregator. This cmdlet also sets values for polling start time and host polling interval.

参数

-Force

强制运行命令而不请求用户确认。

别名

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.

别名

none

是否必需?

false

在哪里?

named

默认值

none

是否接受管道输入?

false

是否接受通配符?

false

-PollStartTime<DateTime>

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

别名

none

是否必需?

false

在哪里?

named

默认值

none

是否接受管道输入?

false

是否接受通配符?

false

-Confirm

在运行 cmdlet 前提示你进行确认。

是否必需?

false

在哪里?

named

默认值

false

是否接受管道输入?

false

是否接受通配符?

false

-WhatIf

显示在 cmdlet 运行时将发生的情况。该 cmdlet 不运行。

是否必需?

false

在哪里?

named

默认值

false

是否接受管道输入?

false

是否接受通配符?

false

<CommonParameters>

此 cmdlet 支持常见的参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 TechNet 上的 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

输入

输入类型是可以传送到 cmdlet 的对象的类型。

输出

输出类型是 cmdlet 发出的对象的类型。

示例

Example 1: Start the Software Inventory Logging Aggregator

This command starts the Software Inventory Logging Aggregator by using current configuration settings.

PS C:\> Start-SilAggregator

Example 2: Start the aggregator and set polling interval

This command starts the Software Inventory Logging Aggregator. The command sets the value of the host polling interval to every five hours.

PS C:\> Start-SilAggregator -HostPollIntervalInHours 5 

Example 3: Start the aggregator and set start time for polling

This command starts the Software Inventory Logging Aggregator. The command sets the value of time to start host polling.

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

Example 4: Start the aggregator and set values

This command starts the Software Inventory Logging Aggregator. The 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:\> Start-SilAggregator -HostPollIntervalInHours 5 -PollStartTime "2014-10-01 15:08:46" 

相关主题

Get-SilAggregator

Set-SilAggregator

Stop-SilAggregator

Software Inventory Logging Cmdlets in Windows PowerShell