This script will reveal all user and hidden shares on a computer. It will show you the share name, share comment
and share path. You will also have the option to run the script against a AD Domain or Work Group name. The script
also saves the shares information into a comma delimited file.
Script Usages: List Shares on Single PC: cscript shares.vbs /computer:[computername] List Shares on AD Domain/Work Group: cscript shares.vbs /adwg:[ad domain or workgroup name]
Copyright 2006 WindowsAdminScripts.com all rights reserved.