PowerShell

PowerShell creating a GUI – Part 1

Reading Time: < 1 minute

In this section we are going to talk about how to create a GUI using PowerShell.

Add-Type -assembly System.Windows.Forms
$main_form = New-Object System.Windows.Forms.form
$main_form.Text = 'GUI for'
$main_form.Width = 600
$main_form.Height = 400
$main_form.AutoSize = $true
$main_form.ShowDialog()

Related posts

Using PowerShell for “head” and “tail” Operations

Tom Hamilton

PowerShell – SEPM

Tom Hamilton

PowerShell for Ubuntu

Tom Hamilton