Contact Info

Crumbtrail

ActiveXperts.com » Administration » Scripts » Adsi

Delete a Published Folder in Windows

You can use any of the VBScript programs below in ActiveXperts Network Monitor. Click here for an explanation about how to include scripts in ActiveXperts Network Monitor.

Delete a Published Folder in Windows using VBScript, WMI and LDAP

Example(s)

Set objContainer = GetObject("LDAP://CN=FinanceShare, " _
    & "OU=Finance, DC=fabrikam, DC=com")

objContainer.DeleteObject (0)