title: SQL installed but powershell not picking up sqlps commands (like invoke-sqlcmd)
body: <p>I installed ms sql server with chocolatey:</p>
  
  <pre><code>choco install SQLServer2012DeveloperEditionWithSP1 -y -f -source 'http://choco.developers.tcpl.ca/chocolatey' -c "$env:WINDIR\temp"
  </code></pre>
  
  <p>SQL seems to be installed and working well outside of powershell where it doesn't work. I can see the sqlps module with:</p>
  
  <pre><code>Get-Module -listavailable
  </code></pre>
  
  <p>...</p>
  
  <pre><code>ModuleType Version    Name                                ExportedCommands
  ---------- -------    ----                                ----------------
  
  Manifest   1.0        SQLASCMDLETS
  Manifest   1.0        SQLPS
  </code></pre>
  
  <p>The commands seem to be missing though. I don't have invoke-sqlcmd etc. In theory I should get access to them if I install the module but when I try to import-module sqlps but I get an error about not having a sqlserver drive:</p>
  
  <pre><code>PS C:\WINDOWS\system32&gt; Import-Module SQLPS
  Set-Location : Cannot find drive. A drive with the name 'SQLSERVER' does not exist.
  At C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\SQLPS\SqlPsPostScript.ps1:1 char:1
  + Set-Location SQLSERVER:
  + ~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo          : ObjectNotFound: (SQLSERVER:String) [Set-Location], DriveNotFoundException
  + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
  </code></pre>
  
  <p>I know several people in my group who went through these steps and did get the correct sql ps setup working. </p>
  
  <p>Any tips or ideas would be very helpful. Thanks.</p>