Stop-SilAggregator
Stops the Software Inventory Logging Aggregator.
語法
Parameter Set: Default
Stop-SilAggregator [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細描述
The Stop-SilAggregator cmdlet stops the Software Inventory Logging Aggregator. If the polling operations and receiver service are running currently, this cmdlet waits and allows them to complete their current operations, and then stops those operations. While the cmdlet waits for the operations to finish, it shows the remaining file count and host count to be processed every 30 seconds.
Specify the Force parameter to stop the aggregator without waiting for polling operations and the receiver service to complete operations.
參數
-Force
Indicates that this cmdlet stops the Software Inventory Logging Aggregator without waiting for polling operations and the receiver service to complete operations. Specifying this parameter could result in incomplete data.
別名 |
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: Stop the aggregator
This command stops the Software Inventory Logging Aggregator.
PS C:\> Stop-SilAggregator
Example 2: Stop the aggregator immediately
This command stops the Software Inventory Logging Aggregator immediately. Specifying the Force parameter stops the polling operations and receiver service regardless of whether polling operations and receiver services are running. Specifying Force can result in incomplete data.
PS C:\> Stop-SilAggregator -Force