This script creates or modifies a GPO with drive maps configured in a matching Excel workbook.
The Excel workbook needs to be configured as follows:
- The worksheet holding the configuration needs to be named 'DriveMaps'
- The first row is ignored and may therefore contain headings
- Starting from the second row the columns need to contain the following information:
- UNC path pointing to the share to map
- Drive letter
- Drive label (optional)
- Filter (optional, can either be a group name or a distinguished name pointing at an OU)