Skip to content

Update Set-MpPreference.md #3942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docset/winserver2025-ps/defender/Set-MpPreference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description: The Set-MpPreference cmdlet configures preferences for Windows Defender scans and updates.
external help file: MSFT_MpPreference.cdxml-help.xml
Module Name: Defender
ms.date: 03/22/2023
ms.date: 04/14/2025
online version: https://learn.microsoft.com/powershell/module/defender/set-mppreference?view=windowsserver2025-ps&wt.mc_id=ps-gethelp
schema: 2.0.0
title: Set-MpPreference
Expand Down Expand Up @@ -1277,6 +1277,9 @@ If you specify a value of $True or do not specify a value, scheduled tasks begin
If you randomize the start times, it can distribute the impact of scanning.
For example, if several virtual machines share the same host, randomized start times prevents all the hosts from starting the scheduled tasks at the same time.

If this setting and the SchedulerRandomizationTime setting are both set to Not Configured then the system will use the default behavior of RandomizeScheduleTaskTimes, which is a 30-minute window.


```yaml
Type: Boolean
Parameter Sets: (All)
Expand Down Expand Up @@ -1560,6 +1563,11 @@ Accept wildcard characters: False
### -SchedulerRandomizationTime
Specifies the randomization time for the scheduler.

If you disable or do not configure this setting, scheduled tasks will begin at a random time within an interval of 4 hours after the specified start time.
If you enable this setting, you must pick a randomization window in hours. The possible randomization window interval is between 1 and 23 hours.

If this setting and the RandomizeScheduleTaskTimes setting are both set to Not Configured then the system will use the default behavior of RandomizeScheduleTaskTimes, which is a 30-minute window.

```yaml
Type: UInt32
Parameter Sets: (All)
Expand Down
Loading