Editar

Compartilhar via


Get-SilLogging

Displays configuration settings for Software Inventory Logging. Windows Server 2012 R2 with KB3000850 applied. For more information, see https://support.microsoft.com/kb/3000850.

Syntax

Get-SilLogging
   [[-CimSession] <CimSession[]>]
   [<CommonParameters>]

Description

The Get-SilLogging cmdlet displays configuration settings for Software Inventory 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 by using the Set-SilLogging cmdlet. The cmdlet gets the state, either started or stopped, of the hourly collection, the date and time that the hourly collection is scheduled to start, the uniform resource identifier (URI) of the aggregation server, and the certificate thumbprint to use for secure authentication.

Examples

Example 1: Get settings for the current computer

PS C:\> Get-SilLogging
State                 : Running
TimeOfDay             : 1/1/2000 3:00:00 AM
Target URI            : https://log03.hosts.contoso.com
CertificateThumbprint : ‎39 21 c1 15 c1 5d 0e ca 5c cb 5b c4 f0 7d 21 d8 05 0b 56 6a
PSComputerName        :

This command displays the configuration settings for Software Inventory Logging.

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

Outputs

PSCustomObject