Browse by Tags

  • Get-FirewallDetails.ps1

    # 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...
Copyright 2012 PowerShell.com. All rights reserved.