I installed SSMS 2016 and now my SQLPS module is not exporting any commands. Below is the output of Get-Module -ListAvailable.
When I try to force it to load the SQLPS module for SQL Server 2012, I get an error
"Set-Location : Cannot find drive. A drive with the name 'SQLSERVER' does not exist.
At C:\Program Files (x86)\Microsoft SQL Server\120\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"
I've tried uninstalling SSMS 2016 and reinstalling with no luck. Any ideas?