Modify an FTP Service Metabase Property

Demonstration script that modifies an FTP service property (AllowAnonymous) in the IIS metabase.

VBScript Code


strComputer = "LocalHost"
Set objIIS = GetObject("IIS://" & strComputer & "/MSFTPSVC")

objIIS.AllowAnonymous = FALSE
objIIS.SetInfo