Show-InstallationPrompt and 6 buttons

I have a situation where I need Show-InstallationPrompt to present users with 6 options in the form of buttons. Based on the button they click that information passes through for a configuration I need.

As far as I can see Show-InstallationPrompt only can do 3 buttons Right, Middle and left or am I missing something here?

Alas no.

To do that you’ll need to create your own GUI.

you could make a copy of Show-InstallationPrompt and modify it. It uses Winforms to define the GUI. It’s the older way of doing GUIs in Windows.

or you can make your own using the newer XAML / WPF.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.