title: Trying to run a powershell script in C#
body: <p>I've got a PS script that adds firewall rules.</p>
  
  <p>I'm using Process.Start("powershell.exe", "-File "+"\"C:\Program Files (x86)\blah\blah\add-FirewallRule.ps1\"");</p>
  
  <p>This command works fine on my local machine, but in testing I've been running the program on a Windows Server 2008 R2, and the PS script won't run.  It runs and works fine if I run it manually from the command line, but my code won't work.  All the file paths are correct (i've already checked that and had a co worker check it). When I run the code the PS console doesn't even pop up.</p>
  
  <p>Any suggestions?</p>