I posted this basics and did not get a response, hopefully better result here. Thanks.

have Scriptomatic and WMICodeCreator but neither give objects for LanManServer, In the example script below how does one know to use .Sessions or .Resources, I cannot fine these objects/properties in either of the tools listed above, for that matter I cannot find how to specify LANManServer, these only seem to list for the object winmgmts and not for WinNt. Is there a list somewhere or another tool? I am new at this and problably have hatcheted up how to state this but could someone shed light on this for me. BTW this code was lifted (leeched) off someone else, not sure how one would start without doing this, also I could not find the START forum to post this in and hope it is fine in here. Rick

On Error Resume Next

Set objConnection = GetObject("WinNT://" & "." & "/LanmanServer")
Set colSessions = objConnection.Sessions
Set colResources = objConnection.Resources

For Each objResource in colResources
wscript.echo objResource.Name
Next

For Each objSession in colSessions
wscript.echo objSession