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>]
Detailed Description
The Set-SilAggregator cmdlet sets values for the polling start time and the polling interval of the Software Inventory Logging Aggregator.
Parameters
-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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Force
Forces the command to run without asking for user confirmation.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-HostPollIntervalInHours<Int32>
Specifies the polling interval in hours. The acceptable values for this parameter are: integers from 1 to 168. A value of 168 is once per week.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-PollStartTime<DateTime>
Specifies the polling start date and time, at least one hour in the future.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-RemoveCertificateThumbprint<System.String[]>
Specifies an array of collector thumbprints that this cmdlet removes from the aggregator.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
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"