pytsql allows to run mssql scripts, typically run via GUIs, via CLI.
conda install conda-forge::pytsql