Waits for any WSL distribution starts, if anyone distributions are running, this scripts will verify until any distributions starts.
- WSL
waitUntilWSL.ps1
Write-Output "Any WSL initiated"
Start automaticaly a USBIP attach to a device with a certain pattern description.
- waitUntilWSL.ps1**
- WSL
- USBIPD-WIN-4.2.0
Check the pattern that you want to use:
usbipd list
Starts the script using the pattern of your choose:
autoStartUSBIP.ps1 "your pattern"
Note: This script uses
BurntToast
but it is not necessary!
If your windows are blocking you to run this scripts, you can do this:
Unblock-File -Path <script-path>
This is just a script to run autoStartUSBIP.ps1 hidden at the startup of Windows.
Edit and put this at user startup folder. (Windows + R
, shell:startup
)