- Step 1
- - Create .ps1 script
- Step 2
- - Shortcut -> Properties -> change Target to
- "C:\Program Files\PowerShell\7\pwsh.exe" -NoProfile -NoLogo -File "YOUR_SCRIPT.ps1"
- Step 3
- - WIN+r, shell:startup, copy & paste the modified shortcut
Click on the lines you want to highlight and share this url.