Avi_R
Epic Member
Hi Guys,
I am trying to get a MessageBox to pop up in powershell, but instead of the default windows buttons, I wanted to know if i can change the buttons, and depends on what the user clicks, that value must be loaded into a variable.
eg.
[System.Windows.Forms.MessageBox]::Show("Which planet do we want to visit today?" , "Status" , 4)
this will bring up a message box with yes or no. I wan the button to say mars or venus.
Thank you guys in advance for any assistance.
I am trying to get a MessageBox to pop up in powershell, but instead of the default windows buttons, I wanted to know if i can change the buttons, and depends on what the user clicks, that value must be loaded into a variable.
eg.
[System.Windows.Forms.MessageBox]::Show("Which planet do we want to visit today?" , "Status" , 4)
this will bring up a message box with yes or no. I wan the button to say mars or venus.
Thank you guys in advance for any assistance.