< Back

Enable-CFirewallStatefulFtp

Sun Jan 12, 2020 9:16 pm

NAME Enable-CFirewallStatefulFtp



SYNOPSIS

Enables the `StatefulFtp` Windows firewall setting.





SYNTAX

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





DESCRIPTION

Uses the `netsh` command to enable 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:\\>Enable-CFirewallStatefulFtp



Enables the `StatefulFtp` Windows firewall setting.











RELATED LINKS

Assert-CFirewallConfigurable