A handy little object snippet to Add/Enable/Disable firewall exceptions. It's funny how useful these little things turn out to be.
#RequireAdmin
;Add/Enable/Disable Firewall Exception
Func _FirewallException($_intEnableDisable, $_appName, $_applicationFullPath)
$Firewall = ObjCreate("HNetCfg.FwMgr")
$Policy = $Firewall.LocalPolicy
$Profile = $Policy.GetProfileByType(1)
$colApplications = $Profile.AuthorizedApplications
$newApplication = ObjCreate("HNetCfg.FwAuthorizedApplication")
$newA