Answers for "how to run .ps1 file in powershell"

1

cmd run ps1 file in background

powershell.exe -windowstyle hidden -file C:\\iis_test.ps1
Posted by: Guest on September-20-2020
2

cmd run powershell command

powershell -ExecutionPolicy Bypass -Command "your script here"
Posted by: Guest on November-12-2020

Code answers related to "how to run .ps1 file in powershell"

Python Answers by Framework

Browse Popular Code Answers by Language