Public/Disable-Firewall.ps1

function Disable-Firewall {
    <#
    .DESCRIPTION
    Disables the local firewall
 
    .EXAMPLE
    Disable-Firewall
 
    .Link
    Enable-Firewall
    #>

    [CmdletBinding(SupportsShouldProcess)]
    param (
    )

    #Check for Admin Privleges
    Get-Elevation

    Write-Host "Disabling Firewall" -ForegroundColor Green
    Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled False
}