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

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Hosting & IIS7, Windows Powershell | No Comment | 3,035 views | 11/12/2010 01:31

Simple script to modify IIS7 FTP Quota with Powershell.

1
2
3
4
5
6
Function Modify-FTPQuota
{
Param ($LogDir, $FTPQuota)
 
    DirQuota Quota Modify /Path:"$LogDir" /Limit:$FTPQuota
}

DirQuota command comes with File Services feature in Windows Server 2008 to limit directories.