Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $preferences = Get-MpPreference
- Set-MpPreference -DisableRealtimeMonitoring (!$preferences.DisableRealtimeMonitoring)
- %SystemRoot%system32WindowsPowerShellv1.0powershell.exe -ExecutionPolicy Bypass -File "C:UsersyujiDocumentstoggle-monitoring.ps1"
Add Comment
Please, Sign In to add comment