Stop-SilAggregator

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

在运行 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: 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

相关主题

Get-SilAggregator

Set-SilAggregator

Start-SilAggregator

Software Inventory Logging Cmdlets in Windows PowerShell