PowerShell Logo Small


This is the built-in help made by Microsoft for the command 'Set-SilLogging', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.


Applies configuration settings for Software Inventory Logging.


Set-SilLogging [-CimSession <CimSession[]>] -TimeOfDay <DateTime> [<CommonParameters>]
Set-SilLogging [-CertificateThumbprint <String>] [-CimSession <CimSession[]>] [-TargetUri <String>] [-TimeOfDay <DateTime>] [<CommonParameters>]

Search powershellhelp.space


The Set-SilLogging cmdlet applies 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 this 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. This cmdlet sets the time of day that the daily collection occurs, the uniform resource identifier (URI) of the
aggregation server, and the certificate thumbprint to use for encryption.

Use the Start-SilLogging cmdlet to start logging.



Online Version: http://go.microsoft.com/fwlink/?LinkID=216622




Example 1: Specify an aggregation server

PS C:\> Set-SilLogging -TargetUri "https://log03.hosts.contoso.com"

This command specifies an aggregation server for Software Inventory Logging for the current computer.

Example 2: Specify a time of day

PS C:\> Set-SilLogging -TimeOfDay "01/01/2013 5:00:00AM"

This command specifies the time of day that the computer forwards logging data. Note that when you specify a date in the future, Software Inventory Logging does not start
logging until that date and time. If you specify a date in the past, only the time specified is relevant to the configuration setting.