Share via


Stop-SilAggregator

Stop-SilAggregator

Stops the Software Inventory Logging Aggregator.

Syntax

Parameter Set: Default
Stop-SilAggregator [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

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.

Parameters

-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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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