-
I decide that for this module I wanted some functions that control specific rule that I could be working with often e.g. Enable/Disable WMI rules and then I want a generic function for everything else. Lets start with some specifics. If we look at the...
-
The really important thing about our firewall is the rules that are configured. function get-rule { [ CmdletBinding ( ) ] param ( ) BEGIN { } #begin PROCESS { $fw = New-Object -ComObject HNetCfg.FwPolicy2 $fw . Rules | foreach { $profiles = @( ) $ruleprofile...
-
I normally leave the Windows firewall enabled in my test environment. It ensures I don’t forget it when testing. My recent session for the TechEd:Australia PowerShell conference involved me disabling various firewall rules on the subject machine to set...