Get a list of the Windows Server 2012 Firewall Rules

Here is a quick way to get a report for the Windows Firewall rules in Windows Server 2012. Enabled Firewall Rules Get-NetFirewallRule | Where-Object {$_.Action -eq “Allow”} | Format-Table -Property DisplayName Disabled Firewall Rules Get-NetFirewallRule | Where-Object {$_.Enabled -eq “False”} | Format-Table -Property Displayname

Send Mail from PowerShell

Working with PowerShell the next step is to enable additional features in my scripts.  This script will  send email directly from within PowerShell. Hope this helps someone. [sourcecode language=”css”] ################################################# # Name: SMTPAnonTest.ps1 # # Author: Carlos Vargas # # Email: cvargas at cavarpe dot com # # Version: 1.0 # # …

Read more