From ee1deb73c474a572242986f8eb55d6cd0fcffdf1 Mon Sep 17 00:00:00 2001 From: Adrian Tracz Date: Fri, 24 May 2024 20:42:35 +0200 Subject: [PATCH] Update docs about using the project --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4d61541..7d14b37 100644 --- a/README.md +++ b/README.md @@ -58,4 +58,9 @@ Assuming you set a custom name to your SQL Server instance, you may invoke the i .\import.ps1 -server_name ".\MyCustomInstanceName" ``` +If you encounter the error `script cannot be loaded because running scripts is disabled on this system` follow these steps: + - Open PowerShell as Administrator and type: `Set-ExecutionPolicy RemoteSigned -Scope CurrentUser` + - Run the `Import.ps1` script again. + - After the import script completes, you can restrict script execution again by typing: `Set-ExecutionPolicy Restricted -Scope CurrentUser` + Once the import script finished importing the db, it will also invoke the `odbcad.ps1` script for you to automatically set odbc configurations so that the server files can connect with your db.