Get-SilLogging
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
Parameter Set: Default
Get-SilLogging [[-CimSession] <CimSession[]> ] [ <CommonParameters>]
Detailed 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.
Parameters
-CimSession<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.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- System.Management.Automation.PSCustomObject
Examples
Example 1: Get settings for the current computer
This command displays the configuration settings for Software Inventory Logging.
PS C:\> Get-SilLogging