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