Michael,

Thanks for the useful info.  I will definitely check this out.

If anyone else has resources for this type of functionality,
specifically creating new sites and retrieving site info (by name if
possible) that would be great.  Thanks! 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-----Original Message-----
From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 04, 2005 9:47 AM
To: CF-Talk
Subject: RE: ColdFusion MX 7 slow?

Here is the code to *delete* virtuals, just in case:


' Note: This script must be run numerous times until
'       all virtuals have been removed.  IIS can't keep
'       up with the quick delete operations.

Set oIIS = GetObject ("IIS://localhost/W3SVC/1") Set IISRoot =
oIIS.GetObject("IIsWebVirtualDir", "Root")

For Each ChildObject In IISRoot
        WScript.Echo ChildObject.Name
Next


For Each ChildObject In IISRoot
        IISRoot.Delete "IISWebVirtualDir", "/" & ChildObject.Name Next

Set IISRoot = Nothing
Set oIIS = Nothing 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201346
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to