Get-Sil Logging

Displays configuration settings for Software Inventory Logging.

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 daily from all 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. If you do not specify an aggregation server and the server is a virtual machine that runs on a Hyper-V host, then the daily collection forwards the Software Inventory Logging data to a location that its Windows Server host can access. The cmdlet gets the state, either started or stopped, of the daily collection, the time of day that the daily collection runs, the uniform resource identifier (URI) of the aggregation server, and the certificate thumbprint to use for encryption.

Examples

Example 1: Get settings for the current computer

PS C:\> Get-SilLogging
SIL Running State      :  Started
SIL Time Of Day        :  01/01/2013 3:00:00AM
Target URI             :  https://log03.hosts.contoso.com
Certificate Thumbprint :

This command displays the configuration settings for Software Inventory Logging.

Optional 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 or Get-CimSession cmdlet. The default is the current session on the local computer.

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

Outputs

System.Management.Automation.PSCustomObject