Display: Cloud | List
Most Popular Tags
Results (6 total) All > powershell (x) > hnetcfg.fwmgr (x)
Sample Using PowerShell (Verifying Windows Firewall is Enabled (Windows))
<#.SYNOPSIS This script gets the status of the host firewall and ensures the firewall IS running!.DESCRIPTION This script gets the status and displays it to the console. The script also turns on the firewall if it's currently off. It's a simpler script than in MSDN for VBScript!.NOTES File Name : Get-FirewallStatus.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : Powe
Last modified by markspansel on 3/6/2011 6:04:22 PM
Sample re-coded into PowerShell (Iterating a Collection (Windows))
<#.SYNOPSIS This script displays each Firewall Authorised Application.DESCRIPTION This script gets the list of authorised applications, then displays them. This is a re-write of a MSDN Script written in VBScript..NOTES File Name : Get-FWAuthorisedApplications.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to:http://www.
Last modified by Thomas Lee on 3/22/2010 12:25:58 PM
Sample Using PowerShell (Adding an Application (Windows))
<#.SYNOPSIS This script adds a program to the firewall..DESCRIPTION This script used the firewall com object to add a new application to the firewall. .NOTES File Name : Add-FirewallApplication.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to: http://www.pshscripts.blogspot.com MSDN Sample posted at
Last modified by Thomas Lee on 3/21/2010 3:01:27 PM
Sample Using PowerShell (Changing Settings in a Specific Profile (Windows))
<#.SYNOPSIS This script Enables ICMP on the Standard Firewall profile..DESCRIPTION This script creates a Firewall object then configures it..NOTES File Name : Enable-ICMP.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to: http://www.pshscripts.blogspot.com MSDN Sample posted at: http://msdn.microsoft.com/en-us/libr
Last modified by Thomas Lee on 3/17/2010 5:50:25 PM
Sample using PowerShell (Adding a Port to Current Profile (Windows))
<#.SYNOPSIS This script enables then disables the SMTP port on a local system .DESCRIPTION This script first creates a FW object, then creates a port. The script then addes that port to the firewall rules. The script finally removes the port. The script also prints before/after results..NOTES File Name : Enable-FWPort.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires
Last modified by Thomas Lee on 3/17/2010 4:33:19 PM
Add to Port Sample using PowerShell (Adding a Port to Current Profile Using Remote Addresses (Windows))
<#.SYNOPSIS This script creates a rule in the FW..DESCRIPTION This script creates a new firewall rule for port 80 over tcp (i.e. 80)..NOTES File Name : Enable-FirewallPort.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to:http://www.pshscripts.blogspot.com MSDN Sample posted at:http://msdn.microsoft.com/en-us/li
Last modified by Thomas Lee on 3/17/2010 5:19:59 PM
Page view tracker