powershell script run powershell script code example
Example 1: cmd run powershell command
powershell -ExecutionPolicy Bypass -Command "your script here"
Example 2: run powershell script from wsl bash
powershell.exe -File "c:\users\ray\Desktop\restorescreenres.ps1"