powershell script run wsl command code example Example: run powershell script from wsl bash powershell.exe -File "c:\users\ray\Desktop\restorescreenres.ps1"