Wednesday, September 14, 2016

Batch file to recompile in multiple AOS scenario

Batch file
net stop AOS60$01
net stop AOS60$02
net start AOS60$01
cd C:\Program Files\Microsoft Dynamics AX\60\Server\AOSInstance1\bin
axbuild xppcompileall /s=01
net stop AOS60$01
net start AOS60$01
@echo "Please log into AOS1 and do a full CIL compile. Before resuming the batch (please do not press a key till the CIL compile is done."
pause
net stop AOS60$01
net stop AOS60$02
net start AOS60$01
net start AOS60$02
view raw bat hosted with ❤ by GitHub

No comments: