Set-CMSoftwareUpdateSummarizationSchedule

Sets how often Configuration Manager summarizes the status of updates.

Syntax

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

Description

The Set-CMSoftwareUpdateSummarizationSchedule cmdlet sets how often Microsoft System Center Configuration Manager summarizes the status of software updates for all the System Center 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.

Examples

Example 1: Schedule summarization interval and unit

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

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

Example 2: Change schedule interval

PS C:\> Set-CMSoftwareUpdateSummarizationSchedule -Interval 7

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

Required Parameters

-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
Required:True
Position:Named
Default value:None
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
Parameter Sets:Days, Hours, Minutes
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

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

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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