how to write powershell script in windows 10 code example
Example 1: powershell script run
./myscript.ps1 //if is in the current directory
c:/scripts/myscript.ps1 //if you want to use the full path
&"C:/my path with space/myscript.ps1" //if your path has spaces
Example 2: run powershell script from wsl bash
powershell.exe -File "c:\users\ray\Desktop\restorescreenres.ps1"
Example 3: how do you make your script work on one window
mamacota.mexican dream.js.tommyinnit.mamacita