Skip to content

Commit 0960179

Browse files
authored
Merge pull request #297 from stevenhardey/patch-1
Fix microsoft-defender-core-service-overview to use correct cmdlet
2 parents 89cf75f + 8f6f752 commit 0960179

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

defender-endpoint/microsoft-defender-core-service-overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.reviewer: yongrhee
88
ms.service: defender-endpoint
99
ms.subservice: ngp
1010
ms.topic: overview
11-
ms.date: 11/25/2024
11+
ms.date: 06/30/2025
1212
search.appverid: met150
1313
ms.localizationpriority: medium
1414
audience: ITPro
@@ -179,13 +179,13 @@ On the script page of the Run Script wizard, choose your script from the list (M
179179
2. Use the `Set-MpPreferences -DisableCoreServiceECSIntegration` $true or $false command, where `$false` = enabled and `$true` = disabled. For example:
180180

181181
```powershell
182-
Set-MpPreferences -DisableCoreServiceECSIntegration $false
182+
Set-MpPreference -DisableCoreServiceECSIntegration $false
183183
```
184184

185-
3. Use the `Set-MpPreferences -DisableCoreServiceTelemetry` $true or $false command, for example:
185+
3. Use the `Set-MpPreference -DisableCoreServiceTelemetry` $true or $false command, for example:
186186

187187
```powershell
188-
Set-MpPreferences -DisableCoreServiceTelemetry $true
188+
Set-MpPreference -DisableCoreServiceTelemetry $true
189189
```
190190

191191
#### Use the Registry to update the policies for Microsoft Defender Core service.

0 commit comments

Comments
 (0)