Editar

Compartilhar via


Start-SilLogging

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

Syntax

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

Description

The Start-SilLogging cmdlet starts Software Inventory Logging hourly logging. Once 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: Start logging

PS C:\> Start-SilLogging

This command starts 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