10 lines
280 B
Batchfile
10 lines
280 B
Batchfile
@echo off
|
|
|
|
REM https://stackoverflow.com/a/16116676
|
|
SETLOCAL EnableDelayedExpansion
|
|
for /f "Delims=" %%x in (.\scripts\database-tasks-wrapper.ps1) do set "script=!script!;%%x"
|
|
|
|
SET "args=%*"
|
|
SET "args=%args:"=\"%"
|
|
powershell -noprofile -command "& { %script% }" dbutils.py %args%
|