Partager via


Start-SilAggregator

Start-SilAggregator

Starts the Software Inventory Logging Aggregator.

Syntaxe

Parameter Set: Default
Start-SilAggregator [-Force] [-HostPollIntervalInHours <Int32> ] [-PollStartTime <DateTime> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Description détaillée

The Start-SilAggregator cmdlet starts the Software Inventory Logging Aggregator. This cmdlet also sets values for polling start time and host polling interval.

Paramètres

-Force

Force l'exécution de la commande sans demander une confirmation de l'utilisateur.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-HostPollIntervalInHours<Int32>

Specifies the polling interval in hours. Les valeurs acceptables pour ce paramètre sont les suivantes :  integers from 1 to 168. A value of 168 is once per week.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-PollStartTime<DateTime>

Specifies the polling start date and time, at least one hour in the future.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Confirm

Vous invite à confirmer l'exécution de l'applet de commande.

Requis ?

false

Position ?

named

Valeur par défaut

false

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-WhatIf

Indique ce qui se produit en cas d'exécution de l'applet de commande. L'applet de commande n'est pas exécutée.

Requis ?

false

Position ?

named

Valeur par défaut

false

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d'informations, consultez  . about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d'entrée correspond au type des objets que vous pouvez adresser à l'applet de commande.

Sorties

Le type de sortie correspond au type des objets que l'applet de commande émet.

Exemples

Example 1: Start the Software Inventory Logging Aggregator

This command starts the Software Inventory Logging Aggregator by using current configuration settings.

PS C:\> Start-SilAggregator

Example 2: Start the aggregator and set polling interval

This command starts the Software Inventory Logging Aggregator. The command sets the value of the host polling interval to every five hours.

PS C:\> Start-SilAggregator -HostPollIntervalInHours 5 

Example 3: Start the aggregator and set start time for polling

This command starts the Software Inventory Logging Aggregator. The command sets the value of time to start host polling.

PS C:\> Start-SilAggregator -PollStartTime "2014-10-01 15:08:46"

Example 4: Start the aggregator and set values

This command starts the Software Inventory Logging Aggregator. The command sets the value of the host polling interval to every five hours and sets the value of time to start host polling.

PS C:\> Start-SilAggregator -HostPollIntervalInHours 5 -PollStartTime "2014-10-01 15:08:46" 

Rubriques connexes

Get-SilAggregator

Set-SilAggregator

Stop-SilAggregator

Software Inventory Logging Cmdlets in Windows PowerShell