From 070d454fa3a2b5414476886d11b8263deec840e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Eivind=20Gussi=C3=A5s=20L=C3=B8kseth?=
 <eivind.gussias.lokseth@hemit.no>
Date: Fri, 13 Jul 2018 15:42:55 +0200
Subject: [PATCH] Update name of PowerShell module for SQL Server.

---
 Publish-BiztalkBtdfApplication.psm1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Publish-BiztalkBtdfApplication.psm1 b/Publish-BiztalkBtdfApplication.psm1
index 2c9fcd7..0005da9 100644
--- a/Publish-BiztalkBtdfApplication.psm1
+++ b/Publish-BiztalkBtdfApplication.psm1
@@ -1054,8 +1054,8 @@ param(
 
      Write-Verbose  $cmd
 
-     If ( ! (Get-module "sqlps" )) { 
-        Import-Module "sqlps" -DisableNameChecking 
+     If ( ! (Get-module "SqlServer" )) { 
+        Import-Module "SqlServer" -DisableNameChecking 
      }
    
      $appsdatarow = Invoke-Sqlcmd -ServerInstance $managmentDbServer  -Query $cmd -Database $managementdb