If I was a batch scripter, I'd starve...
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?
Dashrender last edited by
Here are some instructions I found.