Hello Great People,
I want to call the PowerShell script and pass it some command line arguments and I want to receive the response from that PowerShell Script inside my MS Script.
Please find the picture https://1drv.ms/u/s!AoNHROZr6p0Pkx3Ua-_ ... B?e=xMxeLg. This is what I want to receive inside my MS script.
So far I am able to figure out that to execute the PowerShell I can use the RunProgram function, however I am confused how can I get the response back from my Powershell Script inside my MS Script.
Please guide me what are my options.
Thanks
Powershell script execution
Moderators: Dorian (MJT support), JRL
Re: Powershell script execution
Have a look here:
viewtopic.php?f=9&t=10972&p=46751&hilit ... ell#p46751
Using clipboard to send info between powershell and MS.
viewtopic.php?f=9&t=10972&p=46751&hilit ... ell#p46751
Using clipboard to send info between powershell and MS.
Re: Powershell script execution
Hi Ocnuybear,
Such a great solution but I managed my issue by storing the file on the disk and reading it by the MS script.
So far it looks like it’s working fine.
Indeed the solution you suggested is great I will use it in my next step.
Appreciate your timely help.
Regards
Such a great solution but I managed my issue by storing the file on the disk and reading it by the MS script.
So far it looks like it’s working fine.
Indeed the solution you suggested is great I will use it in my next step.
Appreciate your timely help.
Regards