Set-CMSoftwareUpdateSummarizationSchedule

Set-CMSoftwareUpdateSummarizationSchedule

Sets how often Configuration Manager summarizes the status of updates.

Syntax

Parameter Set: Set
Set-CMSoftwareUpdateSummarizationSchedule -Interval <Int32> [-Unit <SummarizationScheduleUnit> {Days | Hours | Minutes} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

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

Parameters

-Interval<Int32>

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.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Unit<SummarizationScheduleUnit>

Specifies a unit to use to define an interval for the summarization schedule. Valid values for this parameter are:
-- Days
-- Hours
-- Minutes

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

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: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

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: Schedule summarization interval and unit

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

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

Example 2: Change schedule interval

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

PS C:\> Set-CMSoftwareUpdateSummarizationSchedule -Interval 7

Get-CMSoftwareUpdateSummarizationSchedule

Invoke-CMSoftwareUpdateSummarization