Bearbeiten

Freigeben über


Stop-SilLogging

Stops Software Inventory Logging hourly logging. Windows Server 2012 R2 with KB3000850 applied. For more information, see https://support.microsoft.com/kb/3000850.

Syntax

Stop-SilLogging
    [[-CimSession] <CimSession[]>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Stop-SilLogging cmdlet stops Software Inventory Logging hourly logging. If logging is started, Software Inventory Logging collects data hourly from Software Inventory Logging data sources, and then forwards this data over the network to an aggregation server. Specify an aggregation server and certificate thumbprint by using the Set-SilLogging cmdlet.

Examples

Example 1: Stop logging

PS C:\> Stop-SilLogging

This command stops Software Inventory Logging for the current computer.

Parameters

-CimSession

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession https://go.microsoft.com/fwlink/p/?LinkId=227967 or Get-CimSession https://go.microsoft.com/fwlink/p/?LinkId=227966 cmdlet. The default is the current session on the local computer.

Type:CimSession[]
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False