Forked from Dan1el42/powershellorg-forum-post-29358-reply1.ps1
Created
June 6, 2025 09:43
-
-
Save AlexLaforge/d35d88719187e3a4255024c054d1e1e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set-ItemProperty -Path $defaultFTP -Name ftpServer.security.ssl.serverCertHash -Value 582EF84C1D431738C0A5F75C845CAA03D81E63B6 # Replace my sample thumbprint with the value from your certificate | |
| # Data channel ports are a per server configuration not per site | |
| Set-WebConfigurationProperty -PSPath IIS:\ -Filter system.ftpServer/firewallSupport -Name lowDataChannelPort -Value 5001 | |
| Set-WebConfigurationProperty -PSPath IIS:\ -Filter system.ftpServer/firewallSupport -Name highDataChannelPort -Value 5001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment