1 Reply Latest reply on May 26, 2015 4:14 AM by MarXtar

    "copy and execute" a file from LDDiscover

    djs Apprentice

      Does anyone has sample script to "copy and execute" a file by using LDDiscover?

      I'm gonna use this for unmanaged devices.

       

      Thank you

        • 1. Re: "copy and execute" a file from LDDiscover
          MarXtar ITSMMVPGroup

          I don't have any to hand as its been a while since I needed to use it, but generally you need to become familiar with the NET USE commands to access remote directories so you can then launch batch files or other scripts. e.g.:

           

          net use \\X.X.X.X\ldlogon /user:domain\user %pwd%

          \\X.X.X.X\ldlogon\yourscript.bat

          net use \\X.X.X.X\ldlogon /delete

           

          Mark McGinn

          MarXtar Ltd/MarXtar Corporation

          http://landeskone.marxtar.co.uk

          LANDESK One Development Partner

           

          The One-Stop Shop for LANDESK Enhancements

          1 of 1 people found this helpful