Show a message box with PowerShell

A simple function to show a .NET message box: The result: And if you press the “Yes” button: