< Back

Disable-CFirewallStatefulFtp

Sun Jan 12, 2020 9:13 pm

NAME Disable-CFirewallStatefulFtp



SYNOPSIS

Disables the `StatefulFtp` Windows firewall setting.





SYNTAX

Disable-CFirewallStatefulFtp [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Uses the `netsh` command to disable the `StatefulFtp` Windows firewall setting.



If the firewall isn't configurable, writes an error and returns without making any changes.





PARAMETERS

-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Disable-CFirewallStatefulFtp



Disables the `StatefulFtp` Windows firewall setting.











RELATED LINKS

Assert-CFirewallConfigurable