Skip to content

Commit bbe2033

Browse files
authored
Fix microsoft-defender-core-service-overview.md to use correct powershell cmdlet
`Set-MpPreferences` replaced with `Set-MpPreference` so commands work.
1 parent e2a963f commit bbe2033

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)