Skip to content

Commit c728ad2

Browse files
authored
Merge pull request #21576 from MicrosoftDocs/20220329-issue7405
Update sql-pretrained-models-install.md
2 parents 9791290 + f39059e commit c728ad2

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

docs/machine-learning/install/sql-pretrained-models-install.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Install pre-trained models
33
description: Add pre-trained models for sentiment analysis and image featurization to SQL Server Machine Learning Services (R or Python) or SQL Server R Services.
44
ms.prod: sql
55
ms.technology: machine-learning-services
6-
ms.date: 07/30/2019
6+
ms.date: 04/12/2022
77
ms.topic: how-to
88
author: WilliamDAssafMSFT
99
ms.author: wiassaf
@@ -34,6 +34,8 @@ You must have administrator rights on the computer and SQL Server to add pre-tra
3434

3535
External scripts must be enabled and SQL Server LaunchPad service must be running. Installation instructions provide the steps for enabling and verifying these capabilities.
3636

37+
Download and install the latest cumulative update for your version of SQL Server. See the [Latest updates for Microsoft SQL Server](../../database-engine/install-windows/latest-updates-for-microsoft-sql-server.md).
38+
3739
::: moniker range=">=sql-server-2017"
3840
[MicrosoftML R package](../r/ref-r-microsoftml.md) or [microsoftml Python package](../python/ref-py-microsoftml.md) contain the pre-trained models.
3941

@@ -69,12 +71,18 @@ If the models are already installed, skip ahead to the [validation step](#verify
6971

7072
## Download the installation script
7173

72-
Click [https://aka.ms/mlm4sql](https://aka.ms/mlm4sql) to download the file **Install-MLModels.ps1**.
74+
Visit [https://aka.ms/mlm4sql](https://aka.ms/mlm4sql) to download the file **Install-MLModels.ps1**.
7375

7476
## Execute with elevated privileges
7577

7678
1. Start PowerShell. On the task bar, right-click the PowerShell program icon and select **Run as administrator**.
77-
2. Enter a fully-qualified path to the installation script file and include the instance name. Assuming the Downloads folder and a default instance, the command might look like this:
79+
2. The recommended execution policy during installation is "RemoteSigned". For more information on setting the PowerShell execution policy, see [Set-ExecutionPolicy](/powershell/module/microsoft.powershell.security/set-executionpolicy). For example:
80+
81+
```powershell
82+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
83+
```
84+
85+
3. Enter a fully-qualified path to the installation script file and include the instance name. Assuming the Downloads folder and a default instance, the command might look like this:
7886

7987
```powershell
8088
PS C:\WINDOWS\system32> C:\Users\<user-name>\Downloads\Install-MLModels.ps1 MSSQLSERVER

0 commit comments

Comments
 (0)