title: Use powershell command in add_click
body: <p>I do a basic powershell script with a window and a simple button,</p>
  
  <p>On the add_click action i want to execute the "powershell -file $path" command to open another script </p>
  
  <p>in the main the command works, but not when it is in the .add_click({ }) </p>
  
  <pre><code>    #main
  Add-Type -AssemblyName System.Windows.Forms
  $form = New-Object Windows.Forms.Form
  
  $btn1 = New-Object Windows.Forms.Button
  $btn1.Text = "Button1"
  $form.Controls.Add($btn1)
  
  $path = "C:\Users\Administrateur\Desktop\export_vers_test\test_cmd.ps1"
  #powershell -file $path #Here it works
  
  $btn1.add_Click({
      write-host $path
      powershell -file $path #Here it works doesn't works
  })
  
  $form.ShowDialog()
  </code></pre>
  
  <p>Can i have some help please?</p>