power shell run executable on remote computer script block 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