title: Powershell does not recognize invoke-sqlcmd
body: <p>I am unable to use invoke-sqlcmd in powershell. I've loaded the module written by Chad Miller as described here: <a href="https://stackoverflow.com/questions/4820591/problems-using-sql-server-2008-r2-powershell-extensions-outside-of-sqlps">Problems using SQL Server 2008 R2 PowerShell extensions outside of SQLPS</a></p>
  
  <p>The module loads just fine without error, and using get-module shows sqlps as expected. However, using get-pssnapin does not show either SqlServerCmdletSnapin100 or SqlServerProviderSnapin100</p>
  
  <p>When I type invoke-sqlcmd I get the error "The term 'invoke-sqlcmd' is not recognized as the name of a cmdlet, function, script file, or operable program..."</p>
  
  <p>Running Windows 7 Pro, have SQL Server Management Studio Express 2008R2, have installed SQL Server 2008R2 Management Objects.</p>
  
  <p>Thanks for any help
  Jon</p>