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.

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

Leave a comment