Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Button to open website

$
0
0

I am really new at powershell, mostly having only used it on my exchange server.

I need to remind my users of a survey they all need to do and decided on powershell. 

 

I made a popup box with two buttons, one is a cancel button the other is the "Go to Survey" button, the code for which im including here.

$OKButton = New-Object System.Windows.Forms.Button
$OKButton.Location = New-Object System.Drawing.Size(75,120)
$OKButton.Size = New-Object System.Drawing.Size(75,23)
$OKButton.Text = "Go To Survey"
$OKButton.Add_Click({ ??????? })
$objForm.Controls.Add($OKButton)

 

How if possible, do i get the click to open up internet Explorer on a certain website?

 

Thanks a punch for any pointers in the right direction


Viewing all articles
Browse latest Browse all 6937

Trending Articles