Minimum ITScripts engine version required: 22.214.171.124
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: 126.96.36.199
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.