Quantcast
Channel: Jaap Brasser's Blog » System.Windows.Forms
Viewing all articles
Browse latest Browse all 3

New article on PowerShell Magazine: Use Windows Forms to generate GUI messagebox

0
0

Today’s tip on PowerShell Magazine is on how to create a MessageBox using Windows.Forms in PowerShell. This allows for a popup window to appear prompting for user interaction. The full article containing tips on how to use this class is available on PowerShell Magazine : Use Windows Forms to generate GUI messagebox

To generate a GUI message box the following code can be used:

Add-Type -AssemblyName System.Windows.Forms | Out-Null
[System.Windows.Forms.MessageBox]::Show("Hello World")

For more articles like this, have a look at the External Articles section of my blog, it contains all the articles I have posted on external sources such as PowerShell Magazine.

Links in this Article
PSTip: Use Windows Forms to generate GUI messagebox
PowerShell Magazine
External Articles

TwitterLinkedInFacebookGoogle+RedditWordPressEmailTumblrPinterestHacker NewsShare


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images