Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Publish-SilData

Publish-SilData

msft_mistreamtasks.cdxml

Synopsis

Initiates a point in time collection of all Software Inventory Logging data and forwards it, along with any accumulated historical data, to the aggregation server.

Syntax

Publish-SilData [-FileName] [-AsJob] [-CimSession] [-ThrottleLimit] [<CommonParameters>]

Publish-SilData [-AsJob] [-CimSession] [-ThrottleLimit] [-UseCacheOnly] [<CommonParameters>]

Detailed Description

The Publish-SilData cmdlet initiates a point in time collection of all Software Inventory Logging data, and forwards the data over the network to an aggregation server. If Software Inventory Logging was started by an administrator, daily collection and forwarding of the data to the aggregation server commences. In cases where Software Inventory Logging does not receive an acknowledgement from the aggregation server that data forwarding was successful, the service stores that data locally and attempts to forward both the previous and current data the next day. Administrators can also use this cmdlet to manually forward all historical Software Inventory Logging data that was accumulated locally, if that data was not been successfully forwarded to the aggregation server for a period of one or more days. After Software Inventory Logging successfully forwards the data, it deletes all historical data from the client server.

Use the Start-SilLogging cmdlet to start Software Inventory Logging.

Initiating Software Inventory Logging data collection uses server resources. To reduce resource consumption, filter the data by using the UseCacheOnly parameter to specify that the cmdlet only forward the cached data and not initiate a point in time data collection.

Use the Set-SilLogging cmdlet with the TargetUri parameter to specify an aggregation server for daily collection.

Parameters

-AsJob <SwitchParameter>

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. The cmdlet immediately returns an object that represents the job and then displays the command prompt. You can continue to work in the session while the job completes. To manage the job, use the *-Job cmdlets. To get the job results, use the Receive-Job cmdlet. For more information about Windows PowerShell® background jobs, see about_Jobs.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-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

Session

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-FileName <String>

Specifies a file name. This configuration file contains the data sources.

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ThrottleLimit <Int32>

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-UseCacheOnly <SwitchParameter>

Indicates that the server can push or publish stored data to the aggregation server without triggering a point in time collection of all Software Inventory Logging data.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

None

Notes

None

Examples

Example 1: Forward Software Inventory Logging data

This command initiates a point in time data collection of Software Inventory Logging data and forwards the data to an aggregation server.

PS C:\> Publish-SilData

Example 2: Publish existing stored data without first triggering a collection

This command demonstrates the usage of –UseCacheOnly mode. The parameter UseCacheOnly indicates that the server can push or publish stored data to the aggregation server without triggering a point in time collection of all Software Inventory Logging data.

PS C:\>Publish-SilData -UseCacheOnly

Online Version
Get-SilData