Hi Guys,
Here is a small function I wrote to help me create MessageBoxes for a customer I worked for past year. I needed a way to create easy interactions within my scripts with the user, and switch the actions regarding the user choices.
This function will display the message you want in a Windows Form MessageBox and return to you script the value of the button clicked by the enduser.

Here is a small usage example, I use the following PowerShell
And here is screenshots of the resulting actions:

See you,