I dug this UDF out in response to a request in the General Help forum. There is still some tidying to do, but I thought I would post here for anyone that would benefit. All functions have been tested on both XP and Windows 7.
Updated January 22, 2014:
Tested on XP, WIN7 and WIN8.1, x86 and x64
Current version includes:
Enable or Disable the Windows Firewall
Add or Remove Authorized Applications to the Exclusions list
Add or Delete Ports from the Exclusions list.
Enable or Disable the use of Exceptions
Enable or Disable Notifications of blocked applications
Enable or Disable Existing Ports
List all Applications in the Exclusions List
List all Ports in the Exclusions List
List Properties of the current Firewall Configuration
Restore the Windows Firewall to its default configuration
Windows Firewall.au3