search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Hosting & IIS7, Windows Powershell, Windows Server | 2 Comments | 25,755 views | 27/02/2010 16:18

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.