Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Need User input pop-up in powershell when its run as a background process of an Application

$
0
0

Hi,

I have created a powershell script which requires two parameters to be passed onto it for getting executed. This script is called by an application and runs it in background (no console /  window). During this process the application is unable to complete the execution of the script due to the missing user inputs (no popup comes for entering parameters by even after using read-host/[system.console]::Read()). 

The powershell.exe process can only be seen in task manager.

Is there a way in which my script will create a pop up and ask for the parameter values?

Thanks,


Sushruta Banerjee


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>