Creating a New Web FTP Site on IIS7.5 with Powershell

It’s really easy to create new ftp web site on IIS7.5 with Powershell WebAdministration module.

Import-Module WebAdministration
New-Item IIS:\Sites\"Default FTP Site"\$FTPUserDir\$FTPUsername -Type VirtualDirectory -PhysicalPath "$LogDir"</dir>

$FTPUserDir is the name of the Virtual Directory name. You should use “LocalUser” for standalone machines.

Tags: , , , ,


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply