Skip to content

Releases: asheroto/BlockFolderWindowsFirewall

1.1.0

20 Apr 00:57

Choose a tag to compare

-Allow Parameter

You can now create Allow firewall rules instead of only Block rules. This is useful for explicitly whitelisting a folder of executables.

Allow all EXEs in a folder

BlockFolderWindowsFirewall -Path "C:\Folder" -Allow

Allow recursively, inbound only

BlockFolderWindowsFirewall -Path "C:\Folder" -Allow -Recurse -Inbound

-Allow supports all the same combinations as blocking: -Recurse, -Inbound, -Outbound. It cannot be combined with -UnblockInstead.

Changes

  • Internal refactor: Block-Exe and Allow-Exe merged into a single Set-ExeFirewallRule function
  • Main processing loop simplified: no longer duplicated per operation mode

1.0.2

26 Feb 20:22

Choose a tag to compare

  • Added UpdateSelf parameter and function.
  • Fixed CheckForUpdate function.

1.0.1

23 Jun 01:22

Choose a tag to compare

  • Added additional line breaks
  • Changed first line to warning
  • Added PowerShell gallery info to -CheckForUpdate
  • Version now shows both the repo name and version

1.0.0

23 Jun 00:48

Choose a tag to compare

Major changes:

  • Moved logic into functions.
  • Added Help, Version, CheckForUpdate.
  • Support for Inbound/Outbound connections (#1)
  • Added warning if rules are not detected when unblocking.