Set-SilAggregator
Set-SilAggregator
Sets values for the polling start time and the polling interval.
Syntax
Parameter Set: HostPollIntervalInHours
Set-SilAggregator [-AddCertificateThumbprint <System.String[]> ] [-Force] [-HostPollIntervalInHours <Int32> ] [-PollStartTime <DateTime> ] [-RemoveCertificateThumbprint <System.String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: pollStartTime
Set-SilAggregator -PollStartTime <DateTime> [-AddCertificateThumbprint <System.String[]> ] [-Force] [-RemoveCertificateThumbprint <System.String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detaillierte Beschreibung
The Set-SilAggregator cmdlet sets values for the polling start time and the polling interval of the Software Inventory Logging Aggregator.
Parameter
-AddCertificateThumbprint<System.String[]>
Specifies an array of collector thumbprints that this cmdlet adds to the aggregator. The aggregator validates incoming requests by using collector thumbprints.
Aliase |
none |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-Force
Erzwingt die Ausführung des Befehls, ohne den Benutzer zur Bestätigung aufzufordern.
Aliase |
none |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-HostPollIntervalInHours<Int32>
Specifies the polling interval in hours. Die zulässigen Werte für diesen Parameter sind: integers from 1 to 168. A value of 168 is once per week.
Aliase |
none |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-PollStartTime<DateTime>
Specifies the polling start date and time, at least one hour in the future.
Aliase |
none |
Erforderlich? |
true |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-RemoveCertificateThumbprint<System.String[]>
Specifies an array of collector thumbprints that this cmdlet removes from the aggregator.
Aliase |
none |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-Confirm
Fordert Sie vor der Ausführung des Cmdlet zum Bestätigen auf.
Erforderlich? |
false |
Position? |
named |
Standardwert |
false |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-WhatIf
Zeit, was passieren würde, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.
Erforderlich? |
false |
Position? |
named |
Standardwert |
false |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die Sie per Piping an das Cmdlet übergeben können.
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
Beispiele
Example 1: Set polling interval
This command sets the value of the host polling interval to every five hours.
PS C:\> Set-SilAggregator -HostPollIntervalInHours 5
Example 2: Set start time for polling
This command sets the value of time to start host polling.
PS C:\> Set-SilAggregator -PollStartTime "2014-10-01 15:08:46"
Example 3: Set aggregator values
This 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:\> Set-SilAggregator -HostPollIntervalInHours 5 -PollStartTime "2014-10-01 15:08:46"
Example 4: Add Certificate Thumbprint
This command adds a certificate thumbprint. The local Aggregator now accepts this thumbprint.
PS C:\> Set-SilAggregator –AddCertificateThumbprint "a612eb2dec5e2336e3e7ab116e7ca43eb5f9960b"