Führen Sie das PowerShell -Skript von WSL Bash aus

powershell.exe -File "c:\users\ray\Desktop\restorescreenres.ps1"  
Uptight Unicorn