Files
public-setupfiles/powershell_scripts/windows updates and defender.ps1
T
WickedYoda 4d5c390d46 add playbooks and power shell scripts
add playbooks and power shell scripts
2026-10-21 12:59:57 -05:00

12 lines
331 B
PowerShell

#Requires -RunAsAdministrator
$ErrorActionPreference = 'Stop'
Update-MpSignature
Set-MpPreference -DisableRealtimeMonitoring $false
Set-MpPreference -DisableBehaviorMonitoring $false
Set-MpPreference -PUAProtection Enabled
Set-MpPreference -EnableControlledFolderAccess Enabled
Set-MpPreference -EnableNetworkProtection Enabled