# Get-FirewallDetails.ps1 # Gets details of Windows Firewall (on Vista and Server 2008 or later) # Runs on the local machine # Thomas Lee - tfl@psp.co.uk # First create COM object for policy profile and get host name $profile = (new-object -com HNetCfg.FwMgr).LocalPolicy.CurrentProfile $Hostname =hostname # Is firewall enabled? if
Read More...
Read the complete post at http://pshscripts.blogspot.com/2008/12/get-firewalldetailsps1.html
Posted
Dec 20 2008, 10:39 AM
by
PowerShell Scripts