Let me show you a quick example. After download and Installation of AnyBox module found on PSGallery, you are able to present many kinds of message boxes with your PowerShell scripts.
The message box below is created by this simple command:
Show-AnyBox -Title 'NetScaler Blog' -Message 'NetScaler rocks!' -Buttons 'No', 'Maybe?', 'Yes!' -MinWidth 400 -MinHeight 150
The resulting Message Box:

A click on any button sets a corresponding variable to “True”, so you’re able to proceed depending on the answer to your message.
Pretty cool, isn’t it? Please find further Details here: https://www.donaldmellenbruch.com/project/anybox.