Files
Intune/intune/Externally Sourced Remediations/DeviceCompliance/Get-Firewall/Remediate_Firewall.ps1
2025-05-19 15:19:36 -04:00

6 lines
217 B
PowerShell

# Remediation Script: Remediate_Firewall.ps1
# Enable the firewall for all profiles
Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True
Write-Output "Firewall has been enabled for all profiles."