• Lynn Pettis (8/3/2014)


    Can I install the SQLPS module and supporting files from SQL Server 2012 on the Windows Server 2008 systems and use them at the OS level (PowerShell 4.0) to access work with our SQL Server 2008 R2 instances?

    Yep, that's exactly what I do. You should only need them on machines you're executing PS from.

    If I can, is there any thing I need to do to make it work? I have been searching to internet for answers and not finding much that really seems helpful. Some of seems to contradict itself at times.

    It doesn't help that there's 2 distinct things called SQLPS out there!

    I add an import-module command to my Powershell profile, otherwise you'll need to load SQLPS manually every time you need it.

    Edit: You might also need to add the module path to the PSModulePath OS environmental variable, but should work regardless if you give the full path to Import-Module