Apr 06, 2017
Hi Silvere
It looks like the configuration file is not properly populated as the share name does not seem to exist rather than an error in the script itself. Are you writing the file to a separate server from the one that generates the script? Otherwise you can just leave that section as it is in the default configuration file.
Example of a functioning share (replace the details with those in your environment):
\\server.domain.local\sharename$
domain\username
yourpassword
/Patrik