Everybody -

Thanks to Doc, he got some code from a friend of his that may help us get going in the right direction on this. (Hope this is O.K.)

Shawn - Hope this doesn't totally destroy your weekend.

Win32_Share http://www.microsoft.com/management/wbem/classes/Win32_ShareVerbose.htm

And home page for WBEM is - http://www.microsoft.com/management/wbem/contents/

Doing some more digging around MS, we find -

Win32_Share as a WMI_Class http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/hh/wmisdk/r_32os_52zp.asp

Create Method in Class Win32_Share http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/hh/wmisdk/r_32os_2xut.asp

Delete Method in Class Win32_Share http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/hh/wmisdk/r_32os_9xt1.asp

Win32_ConnectionShare http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/hh/wmisdk/r_32os_7u5h.asp

ManagementClass.GetInstances Method (Interesting code at the bottom) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemManagementManagementClassClassGetInstancesTopic.asp

Wait a second!!
WSH Network Administrator Sample Script http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wssamWSHNetworkAdministatorSampleScript.asp

Operating System Classes http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/hh/wmisdk/r_32os_12yb.asp

Appendix C - Hardware Inventory Classes http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/sms/reskit/sms2res/appendixes/smapc.asp

Well... Let's see where this takes us.

- Kent

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's