Script Catalog: Get Shares

Version 3

    Author: Shavlik
    Category: Information
    Inputs: None
    Minimum ITScripts engine version required:  8.0.0.0
    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: 1.0.0.5

    Target Type: Any

     

    Technical Description:

    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.