Minimum ITScripts engine version required: 188.8.131.52
Modifies the target machine: No
Name: Get Shares
Outputs: Share name, path, and description in tabular format
Purpose: Get the shares on the target machines
Script Version: 184.108.40.206
Target Type: Any
This script will query the remote machine using WMI and using the win32_share object will return the shares on the target machine. Shavlik Protect Advanced customers get the ability to get more details on the share permissions as well, but for the Shavlik Protect Standard customers this script does give some added visibility to what shares exist on machines in their environment. Results from the script run are available in the ITScript Results view by right clicking on the machine in question and viewing the result.