Sage X3 Console Configuration Error

SOLVED

Hi All 
I am trying to configure the Sage X3 console for the latest version of Sage X3 but am getting the error below. Can some please assist with on how to solve? I insrtalled the required module but the error persists.

8/9/2023 11:17:58 AM : WARN -
'SqlServer' module seems missing in your PowerShell configuration.
Please launch PowerShell (C:\Program Files\PowerShell\7\pwsh.exe) and enter this command :
Install-module SQLServer -Scope AllUsers -Force -RequiredVersion 21.1.18256

8/9/2023 11:17:58 AM : ERROR - Error while executing x3data_CrUsr.bat : NOK. (LibAdm.RunCreateUserSQLMainNT)
[31;1mc:\Sage\X3V12\runtime\ebin\create-application-sql.ps1: [31;1mThe script 'create-application-sql.ps1' cannot be run because the following modules that are specified by the "#requires" statements of the script are missing: SqlServer.[0m
The process cannot access the file because it is being used by another process.

8/9/2023 11:17:58 AM : FATAL - Configuration aborted
8/9/2023 11:17:58 AM : FATAL - NOK