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.

语法

Parameter Set: Default
Get-SilLogging [[-CimSession] <CimSession[]> ] [ <CommonParameters>]

详细说明

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.

参数

-CimSession<CimSession[]>

在远程会话中或在远程计算机上运行 cmdlet。输入计算机名称或会话对象,例如 New-CimSessionGet-CimSession cmdlet 的输出。默认为本地计算机上的当前会话。

别名

是否为必需?

false

位置?

1

默认值

是否接受管道输入?

false

是否接受通配符?

false

<CommonParameters>

此 cmdlet 支持通用参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

输入

输入类型是指可通过管道传送给 cmdlet 的对象的类型。

输出

输出类型是 cmdlet 所发出对象的类型。

  • System.Management.Automation.PSCustomObject

示例

Example 1: Get settings for the current computer

This command displays the configuration settings for Software Inventory Logging.

PS C:\> Get-SilLogging

相关主题

Set-SilLogging

Start-SilLogging

Stop-SilLogging

Publish-SilData