Home > Uncategorized > Creating a GUI in Powershell

Creating a GUI in Powershell

[System.Reflection.Assembly]::LoadWithPartialName(“System.windows.forms”)
$form = new-object System.Windows.Forms.form
$Form.text = “Hello World!”
$form.showdialog()

There you go, a bit of powershell script that shows a graphical user interface… Not elegant, but possible.

Advertisement
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: