title: Invoke-Sqlcmd not working after PowerShell 4 install
body: <p>I installed PowerShell 4 over the weekend and ever since then, I get the error "The term 'Invoke-Sqlcmd' is not recognized as the name of a cmdlet, function" when I try to run the Invoke-Sqlcmd commandlet.</p>
  
  <p>This has been working just fine for months until PowerShell 4.</p>
  
  <p>I have SQL 2012 SP1 installed with CU7. VS 2013 with .NET 4.5.1. As far as I can tell, I have all the latest everything that PowerShell requires.</p>
  
  <p>How can I get this fixed?</p>
  
  <blockquote>
    <p>Invoke-Sqlcmd : The term 'Invoke-Sqlcmd' 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. At line:1 char:1</p>
  </blockquote>
  
  <p>I asked on <a href="https://superuser.com/questions/700663/invoke-sqlcmd-not-working-after-powershell-4-install">SuperUser</a> a couple days ago, but am not getting much traction there.</p>