Public/Enable-Firewall.ps1
function Enable-Firewall { <# .SYNOPSIS -Taylor Lee Modified 05262019 .DESCRIPTION Disables the local firewall .EXAMPLE Disable-Firewall .Link https://github.com/TheTaylorLee/PCSetup #> [CmdletBinding(SupportsShouldProcess)] param ( ) #Check for Admin Privleges Get-Elevation Write-Host "Enabling Firewall" -ForegroundColor Green Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled True } |