Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following will add hyperlink to your PowerShell WinForms GUI:
$LinkLabel = New-Object System.Windows.Forms.LinkLabel
$LinkLabel.Location = New-Object System.Drawing.Size(30,50)
$LinkLabel.Size = New-Object System.Drawing.Size(150,20)
$LinkLabel.LinkColor = "BLUE"
$LinkLabel.ActiveLinkColor = "RED"
$LinkLabel.Text = "Your Link Text"
$LinkLabel.add_Click({[system.Diagnostics.Process]::start("http://yourdomain.com")})
$Form.Controls.Add($LinkLabel)