Skip to content

Commit 174d960

Browse files
authored
Merge pull request MicrosoftDocs#3115 from MicrosoftDocs/Ashok-Lobo-6669854
Updated Set-MpPreference cmdlet - task - 6669854
2 parents a606ccb + 8db2453 commit 174d960

File tree

2 files changed

+31
-9
lines changed

2 files changed

+31
-9
lines changed

docset/winserver2019-ps/defender/Set-MpPreference.md

+16-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Use this article to help manage Windows and Windows Server technologies with Windows PowerShell.
33
external help file: MSFT_MpPreference.cdxml-help.xml
44
Module Name: Defender
5-
ms.date: 08/30/2022
5+
ms.date: 09/20/2022
66
online version: https://docs.microsoft.com/powershell/module/defender/set-mppreference?view=windowsserver2019-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-MpPreference
@@ -24,6 +24,7 @@ Set-MpPreference [-ExclusionPath <String[]>] [-ExclusionExtension <String[]>] [-
2424
[-CheckForSignaturesBeforeRunningScan <Boolean>] [-ScanPurgeItemsAfterDelay <UInt32>]
2525
[-ScanOnlyIfIdleEnabled <Boolean>] [-ScanParameters <ScanType>] [-ScanScheduleDay <Day>]
2626
[-ScanScheduleQuickScanTime <DateTime>] [-ScanScheduleOffset <UInt32>] [-SignatureFirstAuGracePeriod <UInt32>]
27+
[-ScanScheduleTime <HH:MM:SS>]
2728
[-SignatureAuGracePeriod <UInt32>] [-SignatureDefinitionUpdateFileSharesSources <String>]
2829
[-SignatureDisableUpdateOnStartupWithoutEngine <Boolean>] [-SignatureFallbackOrder <String>]
2930
[-SignatureScheduleDay <Day>] [-SignatureScheduleTime <DateTime>] [-SignatureUpdateCatchupInterval <UInt32>]
@@ -41,7 +42,8 @@ Set-MpPreference [-ExclusionPath <String[]>] [-ExclusionExtension <String[]>] [-
4142
[-LowThreatDefaultAction <ThreatAction>] [-ModerateThreatDefaultAction <ThreatAction>]
4243
[-HighThreatDefaultAction <ThreatAction>] [-SevereThreatDefaultAction <ThreatAction>] [-Force]
4344
[-DisableBlockAtFirstSeen <Boolean>] [-PUAProtection <PUAProtectionType>] [-CimSession <CimSession[]>]
44-
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>] [-DisableGradualRelease <Boolean>] [-DefinitionUpdatesChannel <UpdatesChannelType>] [-EngineUpdatesChannel <UpdatesChannelType>] [-PlatformUpdatesChannel <UpdatesChannelType>][-CloudBlockLevel <CloudBlockLevelType>][-ServiceHealthReportInterval <UInt32>]
45+
[-ThrottleLimit <Int32>] [-AsJob] [<CommonParameters>]
46+
[-DisableGradualRelease <Boolean>] [-DefinitionUpdatesChannel <UpdatesChannelType>] [-EngineUpdatesChannel <UpdatesChannelType>] [-PlatformUpdatesChannel <UpdatesChannelType>][-CloudBlockLevel <CloudBlockLevelType>][-ServiceHealthReportInterval <UInt32>]
4547
```
4648

4749
## DESCRIPTION
@@ -994,9 +996,6 @@ Accept pipeline input: False
994996
Accept wildcard characters: False
995997
```
996998

997-
### -ScanScheduleTime
998-
This setting is discontinued and replaced with **ScanScheduleOffset** as a part of a recent Microsoft Defender Antivirus update.
999-
1000999
### -ScanScheduleOffset
10011000
Configures the number of minutes after midnight to perform a scheduled scan. The time on the endpoint is used to determine the local time. If you enable this setting, a scheduled scan will run at the time specified. If you disable or don’t enable this setting, a scheduled scan runs at the default time of two hours (120 minutes) after midnight.
10021001

@@ -1012,6 +1011,18 @@ Accept pipeline input: False
10121011
Accept wildcard characters: False
10131012
```
10141013

1014+
### -ScanScheduleTime
1015+
Specifies the time of day to run a scheduled scan. The time refers to the local time on the computer. Specify the number of minutes after midnight (for example, enter 60 for 1 a.m.). This parameter has a default time of two hours after midnight (2 a.m.).
1016+
1017+
```yaml
1018+
Type: DateTime
1019+
Aliases: scsqst
1020+
Position: Named
1021+
Default value: None
1022+
Accept pipeline input: False
1023+
Accept wildcard characters: False
1024+
```
1025+
10151026
### -ServiceHealthReportInterval
10161027
This policy setting configures the time interval (in minutes) for the service health reports to be sent from endpoints.
10171028

docset/winserver2022-ps/defender/Set-MpPreference.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: The Set-MpPreference cmdlet configures preferences for Windows Defender scans and updates.
33
external help file: MSFT_MpPreference.cdxml-help.xml
44
Module Name: Defender
5-
ms.date: 08/30/2022
5+
ms.date: 09/20/2022
66
online version: https://docs.microsoft.com/powershell/module/defender/set-mppreference?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Set-MpPreference
@@ -24,6 +24,7 @@ Set-MpPreference [-ExclusionPath <String[]>] [-ExclusionExtension <String[]>] [-
2424
[-ScanAvgCPULoadFactor <Byte>] [-CheckForSignaturesBeforeRunningScan <Boolean>]
2525
[-ScanPurgeItemsAfterDelay <UInt32>] [-ScanOnlyIfIdleEnabled <Boolean>] [-ScanParameters <ScanType>]
2626
[-ScanScheduleDay <Day>] [-ScanScheduleQuickScanTime <DateTime>] [-ScanScheduleOffset <UInt32>]
27+
[-ScanScheduleTime <HH:MM:SS>]
2728
[-SignatureFirstAuGracePeriod <UInt32>] [-SignatureAuGracePeriod <UInt32>]
2829
[-SignatureDefinitionUpdateFileSharesSources <String>]
2930
[-SignatureDisableUpdateOnStartupWithoutEngine <Boolean>] [-SignatureFallbackOrder <String>]
@@ -39,6 +40,7 @@ Set-MpPreference [-ExclusionPath <String[]>] [-ExclusionExtension <String[]>] [-
3940
[-DisableCatchupFullScan <Boolean>] [-DisableCatchupQuickScan <Boolean>] [-DisableEmailScanning <Boolean>]
4041
[-DisableRemovableDriveScanning <Boolean>] [-DisableRestorePoint <Boolean>]
4142
[-DisableScanningMappedNetworkDrivesForFullScan <Boolean>] [-DisableScanningNetworkFiles <Boolean>]
43+
[-DisableIOAVProtection <Boolean>]
4244
[-UILockdown <Boolean>] [-ThreatIDDefaultAction_Ids <Int64[]>]
4345
[-ThreatIDDefaultAction_Actions <ThreatAction[]>] [-UnknownThreatDefaultAction <ThreatAction>]
4446
[-LowThreatDefaultAction <ThreatAction>] [-ModerateThreatDefaultAction <ThreatAction>]
@@ -1400,9 +1402,6 @@ Accept pipeline input: False
14001402
Accept wildcard characters: False
14011403
```
14021404

1403-
### -ScanScheduleTime
1404-
This setting is discontinued and replaced with **ScanScheduleOffset** as a part of a recent Microsoft Defender Antivirus update.
1405-
14061405
### -ScanScheduleOffset
14071406
Configures the number of minutes after midnight to perform a scheduled scan. The time on the endpoint is used to determine the local time. If you enable this setting, a scheduled scan will run at the time specified. If you disable or don’t enable this setting, a scheduled scan runs at the default time of two hours (120 minutes) after midnight.
14081407

@@ -1415,6 +1414,18 @@ Accept pipeline input: False
14151414
Accept wildcard characters: False
14161415
```
14171416

1417+
### -ScanScheduleTime
1418+
Specifies the time of day to run a scheduled scan. The time refers to the local time on the computer. Specify the number of minutes after midnight (for example, enter 60 for 1 a.m.). This parameter has a default time of two hours after midnight (2 a.m.).
1419+
1420+
```yaml
1421+
Type: DateTime
1422+
Aliases: scsqst
1423+
Position: Named
1424+
Default value: None
1425+
Accept pipeline input: False
1426+
Accept wildcard characters: False
1427+
```
1428+
14181429
### -SchedulerRandomizationTime
14191430
Specifies the randomization time for the scheduler.
14201431

0 commit comments

Comments
 (0)