ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    If I was a batch scripter, I'd starve...

    IT Discussion
    batch scripts scripting script
    2
    2
    830
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NerdyDadN
      NerdyDad
      last edited by

      I need a batch script, but my batch scripting skills are subpar. I need an autorun script that will simply launch a powershell file when a USB is plugged in. I know that the main part of Windows 10 has disabled autorun, but have also seen a couple of sticks autorun sometimes.

      We're just running some pen tests on our users to see what kind of baseline that we get. The ps1 file is going to pull the username and computer name and email that to me whenever the USB is plugged in. Nothing malicious. Anybody have any batch scripting skills?

      1 Reply Last reply Reply Quote 2
      • DashrenderD
        Dashrender
        last edited by

        Here are some instructions I found.

        http://www.instructables.com/id/How-to-make-flash-drive-that-copys-users-files-si/

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post