Discovery-SharePoint.exe

As an alternative to inventory via the wizard, the autonomous discovery module can be used. This is executed directly on the SharePoint Server and generates a result file, which is then imported into Docusnap via File Import.

General information about autonomous discovery modules, standard parameters, and importing result files can be found in the chapter Autonomous Discovery Modules.

The following modules are available for inventorying Microsoft SharePoint:

  • Discovery-SharePoint.exe – For SharePoint from version 2013 onwards. This module is always up-to-date and should be used preferably.
  • Discovery-SharePoint-2010.exe – For SharePoint version 2010.
  • Discovery-SharePoint-2007.exe – For SharePoint version 2007.

The Discovery-SharePoint.exe module can be executed either by double-clicking or via the SharePoint Server command line. After the inventory is completed, a DSI file is created in the folder where Discovery-SharePoint.exe is located, containing all the information.

C:\Discovery-SharePoint.exe

Optionally, SharePoint-specific options are used to define which information should be read. A detailed description including examples can be found in the English console help:

SharePoint specific Options:

     -jh <count>
           Description: Retrieves the specified number of most recent SharePoint Job History entries.
           If not defined, the last 10 entries are included.
     Example: C:\Discovery-SharePoint.exe -jh 5

     -UrlIncludeList <URL,URL>
           Description: Retrieves only the Site Collections specified in the list. If undefined,
           retrieves all Site Collections.
     Example: C:\Discovery-SharePoint.exe-UrlIncludeList http://SP01/sites/SA,http://SP01/sites/SB

     -UrlExcludeList <URL,URL>
           Description: Excludes the specified Site Collections from the inventory. If undefined, no
           Site Collections are excluded.
     Example: c:\Discovery-SharePoint.exe -UrlExcludeList http://SP1/sites/SA,http://SP01/sites/SB