Update README.md

pull/1/head
qtKite 3 years ago committed by GitHub
parent 813d8831ba
commit 96f100407d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -373,4 +373,12 @@ I first wanted to see how powershell called the command, so i looked through the
Get-Command Set-MpPreference | fl
```
If we wanted to read the MSFT_MpPreference class, it is documented here:
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/dn455323(v=vs.85)#requirements
We can access via powershell like so:
```
Get-WmiObject -ClassName MSFT_MpPreference -Namespace root/microsoft/windows/defender
```

Loading…
Cancel
Save