' Open a Closed PortSet objFirewall = CreateObject("HNetCfg.FwMgr")Set objPolicy = objFirewall.LocalPolicy.CurrentProfileSet colPorts = objPolicy.GloballyOpenPortsSet objPort = colPorts.Item(9999,6)objPort.Enabled = TRUE search for scripts
' Open a Closed PortSet objFirewall = CreateObject("HNetCfg.FwMgr")Set objPolicy = objFirewall.LocalPolicy.CurrentProfileSet colPorts = objPolicy.GloballyOpenPortsSet objPort = colPorts.Item(9999,6)objPort.Enabled = TRUE
Download Home Scripts Copyright © 2001-2024 adersοft