title: Running Powershell script in c# -ConvertToJson error
body: <p>I would like to run power shell scripts in c#.</p>
  
  <p>Using the tutorial on running powershell scripts in c# from CodeProject (<a href="http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C" rel="noreferrer">http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C</a>)</p>
  
  <p>I am able to run 'most' ps scripts (they run perfect in PS), but the one I require, I receive an error when trying to use the -ConvertFrom-Json command.</p>
  
  <p>Error in script : The term 'ConvertFrom-Json' is not recognized as the name of a cmdlet,      function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.</p>
  
  <p>I am new to this so not sure if its out of date libraries or other dependencies that are needed to make it work?</p>