feat(wms): add controlled three-channel mixed-storage pilot
This commit is contained in:
18
scripts/mixed-pilot/mixed-pilot.cmd
Normal file
18
scripts/mixed-pilot/mixed-pilot.cmd
Normal file
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
setlocal
|
||||
if "%~3"=="" goto usage
|
||||
if /I "%~1"=="install" (
|
||||
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%~dp0install-mixed-pilot.ps1" -Server "%~2" -Database "%~3"
|
||||
exit /b
|
||||
)
|
||||
if /I "%~1"=="enable" (
|
||||
if /I not "%~4"=="CONFIRM-FIT-ALL-PROJECTS" goto usage
|
||||
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%~dp0control-mixed-pilot.ps1" -Server "%~2" -Database "%~3" -Mode enable -ConfirmPhysicalFit -AllProjectsMayMix
|
||||
exit /b
|
||||
)
|
||||
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "%~dp0control-mixed-pilot.ps1" -Server "%~2" -Database "%~3" -Mode "%~1"
|
||||
exit /b
|
||||
:usage
|
||||
echo Usage: mixed-pilot.cmd install^|status^|disable^|uninstall "lpc:." "FT546-wms"
|
||||
echo Enable: mixed-pilot.cmd enable "lpc:." "FT546-wms" CONFIRM-FIT-ALL-PROJECTS
|
||||
exit /b 2
|
||||
Reference in New Issue
Block a user