Set-CMSoftwareUpdateSummarizationSchedule

Sets how often Configuration Manager summarizes the status of updates.

Syntax

Set-CMSoftwareUpdateSummarizationSchedule
   -Interval <Int32>
   [-PassThru]
   -Unit <SummarizationScheduleUnit>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-CMSoftwareUpdateSummarizationSchedule cmdlet sets how often Configuration Manager summarizes the status of software updates for all the Configuration Manager sites. You can set the summary to run on an interval defined in days, hours, or minutes. You can use the Invoke-CMSoftwareUpdateSummarization cmdlet to run the summarization immediately.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Schedule summarization interval and unit

PS XYZ:\> Set-CMSoftwareUpdateSummarizationSchedule -Interval 5 -Unit Days

This command sets the update summarization schedule to run every five days.

Example 2: Change schedule interval

PS XYZ:\> Set-CMSoftwareUpdateSummarizationSchedule -Interval 7

This command changes the interval for the update summarization schedule to seven. The command does not change the unit.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Interval

Specifies an amount of time, as an integer. This value works with the unit type you specify in the Unit parameter. Valid values for this parameter depend on the unit that you select:

  • Minutes: 10 through 59.
  • Hours: 1 through 23.
  • Days: 1 through 31.
Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Add this parameter to return an object that represents the item with which you're working. By default, this cmdlet may not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Unit

Specifies a unit to use to define an interval for the summarization schedule. Valid values are:

  • Days
  • Hours
  • Minutes
Type:SummarizationScheduleUnit
Accepted values:Days, Hours, Minutes
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object