Quantcast
Channel: Fórum SQL Server Setup & Upgrade
Viewing all articles
Browse latest Browse all 7627

SQLPS not importing after SQL 2012 install

$
0
0
I am using powershell to install SQL server 2012.  Within the same powershell script that installs SQL, I have a function to run my post install configs; however, the script fails saying it cannot find the sqlps module to import.  If I close that PS window and open a new one, the post install script will work.  Has anyone encountered this?  I tried reloading the profile from within the script but it errors out as well.  I would like to install and configure it in one script for automation.

Viewing all articles
Browse latest Browse all 7627


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>