Control the Windows firewall status on Domain, Private and Public profiles.
Steps….
- Open Power Shell – Run Windows Terminal….
- Show Profiles — Use the Well-NetFirewallPro File.
- Controlling piloted — Check that the profiles used are activated.
- Analyze any deactivation — Disabling must be justified and compensated by a controlled security policy.
Commands
Get-NetFirewallProfile | Select-Object Name,Enabled,DefaultInboundAction,DefaultOutboundAction
Key takeaways
- Avoid deactivating firewalls as a method of sustainable diagnosis.
- Instead, create a temporary and targeted rule when necessary.