power shell run exe code example
Example: how to run power shell script
powershell -Command D:\SRINIVAS_WORKS\POWERSHELL\testPsScript.ps1 --> to run on same terinal
powershell -NoExit -Command & D:\SRINIVAS_WORKS\POWERSHELL\testPsScript.ps1
powershell -Command D:\SRINIVAS_WORKS\POWERSHELL\testPsScript.ps1 --> to run on same terinal
powershell -NoExit -Command & D:\SRINIVAS_WORKS\POWERSHELL\testPsScript.ps1