cmd run powershell command
powershell -ExecutionPolicy Bypass -Command "your script here"
cmd run powershell command
powershell -ExecutionPolicy Bypass -Command "your script here"
powershell script run
./myscript.ps1 //if is in the current directory
c:/scripts/myscript.ps1 //if you want to use the full path
&"C:/my path with space/myscript.ps1" //if your path has spaces
run powershell script from wsl bash
powershell.exe -File "c:\users\ray\Desktop\restorescreenres.ps1"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us