The information in this article applies to:
SUMMARYThis article describes how to use Active Directory Services Interface (ADSI) to manage file shares on local and remote computers. MORE INFORMATION
You can use ADSI to write scripts or programs to manage shares on both local and remote computers. The different properties you can use in the IADsFileShare object are listed in the following table.
The following scripts, written in VBScript, take advantage of the IADsFileShare object. The Create_Share.vbs script creates a new share on 'MYCOMPUTER,' and then sets some of the common file share attributes.
The List_Shares.vbs script lists all of the shares on 'MYCOMPUTER' and the local path for the share.
For information about ADSI, please visit the following Microsoft Web site: http://www.microsoft.com/windows/server/Technical/directory/adsilinks.aspFor information about Windows Script Host, please visit the following Microsoft Web site: http://msdn.microsoft.com/scripting/ Additional query words:
Keywords : kbenv kbnetwork kbtool ntdomain |
Last Reviewed: December 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |