Skip to content

janestreet/WindowsFirewall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WindowsFirewall

PowerShell Module to manage the Windows Firewall

Available Commands

Command Synopsis
Get-WindowsFirewallAppPath Gets dynamic application path for specified application
Get-WindowsFirewallRule Gets all properties of a Windows firewall rule
Get-WindowsFirewallRuleExpiration Gets expiration of a temporary firewall rule
Get-WindowsFirewallRuleSDDLString Generates SDDL string for use with secure firewall rule
New-WindowsFirewallRule Creates a new Windows firewall rule
New-WindowsFirewallTempRule Creates a new Windows firewall temporary rule
Set-WindowsFirewallProfile Configures a Windows firewall profile
Set-WindowsFirewallRule Applies a specified Windows firewall JSON ruleset
Test-WindowsFirewallHealthProbe Tests Windows firewall health and attempts remediation

Usage

To apply a set of JSON-defined Windows firewall rules

> Set-WindowsFirewallRule -RuleFile FirewallRules.json

To configure the Windows firewall profile

> Set-WindowsFirewallProfile -NetworkProfile Domain -DefaultInboundAction Block -DefaultOutboundAction Allow

About

PowerShell Module to manage the Windows Firewall

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors