*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: 5.4.144
32 or 64 bit version of product: 32
32 or 64 bit OS: 32 & 64
*** Please add details and screenshots as needed below. ***
I searched through the PowerShell Studio and GUI forums and couldn't find an answer to my question. I'm still learning PowerShell and this is the first PowerShell Studio GUI and executable that I've attempted to create.
I'm creating a very simple GUI which requires the user to choose either 'Yes' or 'No' buttons. I've already got that working, my question is:
- How can I pass a custom return value or code (for example: 1 for 'Yes' and 2 for 'No') from the PowerShell executable back to the calling application; which in this case is a batch file - so that I can do something in the batch file based on the response of the user?