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
在執行指令程式之前提示您確認。
必要項? |
false |
位置? |
named |
預設值 |
false |
接受管線輸入? |
false |
接受萬用字元? |
false |
-WhatIf
示範當執行指令程式時會發生什麼事情。此指令程式並未執行。
必要項? |
false |
位置? |
named |
預設值 |
false |
接受管線輸入? |
false |
接受萬用字元? |
false |
<CommonParameters>
這個指令程式支援一般參數:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。如需詳細資訊,請參閱 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
輸入
輸入類型是可透過管道傳送至指令程式的物件類型。
輸出
輸出類型是指令程式所發出的物件類型。
範例
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"