Share via


Publish-SilData

Publish-SilData

Initiates a point in time collection of Software Inventory Logging data and forwards it, along with any accumulated historical data, to the aggregation server. Windows Server 2012 R2 with KB3000850 applied. For more information, see https://support.microsoft.com/kb/3000850.

Sintaxe

Parameter Set: CollectThenFlush
Publish-SilData [[-FileName] <String> ] [-AsJob] [-CheckCollectionHistory] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: FlushOnly
Publish-SilData [-AsJob] [-CimSession <CimSession[]> ] [-ThrottleLimit <Int32> ] [-UseCacheOnly] [ <CommonParameters>]

Descrição detalhada

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 one is specified. To identify the aggregation server, specify the TargetUri parameter of the Set-SilLogging cmdlet. If Software Inventory Logging was started by an administrator by using the Start-SilLogging cmdlet, hourly collection and forwarding of 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 successfully received, the feature stores that data locally and attempts to forward both cached and current data during the next scheduled forward attempt. Once the cached and current data has been forwarded successfully, the feature deletes all historical data from the local server.

Parâmetros

-AsJob

Aliases

nenhuma

Necessário?

false

Posição?

named

Valor padrão

nenhuma

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-CheckCollectionHistory

Indicates that this cmdlet checks whether the current data set varies from the previous collection results. If it does vary, this cmdlet publishes a full set of the data to the aggregation server at the target uniform resource identifier (URI). If the data set does not vary, this cmdlet publishes a small package of data that identifies the computer to the aggregation server.

Aliases

nenhuma

Necessário?

false

Posição?

named

Valor padrão

nenhuma

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-CimSession<CimSession[]>

Executa o cmdlet em uma sessão remota ou em um computador remoto. Insira um nome do computador ou um objeto de sessão, como a saída de um cmdlet New-CimSession ou Get-CimSession. O padrão é a sessão atual do computador local.

Aliases

Session

Necessário?

false

Posição?

named

Valor padrão

nenhuma

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-FileName<String>

Specifies the name of a file. This file is used by Software Inventory Logging to define the data sources. Because Software Inventory Logging has an inherent default value, you do not usually need to specify this parameter.

Aliases

nenhuma

Necessário?

false

Posição?

1

Valor padrão

nenhuma

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-ThrottleLimit<Int32>

Especifica o número máximo de operações simultâneas que podem ser estabelecidas para executar o cmdlet. Se esse parâmetro for omitido ou um valor de 0 for inserido, o Windows PowerShell® calculará o limite ideal de restrição para o cmdlet com base no número de cmdlets do CIM que estão em execução no computador. O limite de restrição se aplica somente ao cmdlet atual, e não à sessão ou ao computador.

Aliases

nenhuma

Necessário?

false

Posição?

named

Valor padrão

nenhuma

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-UseCacheOnly

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

Aliases

nenhuma

Necessário?

false

Posição?

named

Valor padrão

nenhuma

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

<CommonParameters>

Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.

Saídas

O tipo de saída é o tipo de objeto emitido pelo cmdlet.

  • None

Exemplos

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. To identify the aggregation server, specify the TargetUri parameter of the Set-SilLogging cmdlet.

PS C:\> Publish-SilData

Tópicos relacionados

Get-SilData

Set-SilLogging

Start-SilLogging