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