run command powerhsell script 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