Run a PowerShell script on button press. RRS feed

  • Question

  • Hello everyone,

    I have created a powershell script and I want to make it run when I press a button, therefore the code needs to go in between here:

        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles httpbutton.Click
        End Sub

    I have installed this plugin and it reads the code fine: https://visualstudiogallery.msdn.microsoft.com/f65f845b-9430-4f72-a182-ae2a7b8999d7. (I am using VS 2013)

    Is there any way I can execute some PowerShell code on the httpbutton.Click private sub?

    Thank you in advance!

    Kind Regards,


    Thursday, December 3, 2015 7:40 PM