Initial commit: BizTalk IIS inventory with DOCX reporting
Build und Test / build (push) Has been cancelled

This commit is contained in:
2026-07-24 15:32:18 +02:00
commit d326341488
27 changed files with 4776 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
@echo off
setlocal EnableExtensions
set "APPDIR=%~dp0"
set "EXE=%APPDIR%BizTalkIisEnvironmentInventory.exe"
if not exist "%EXE%" (
echo FEHLER: Anwendung fehlt: "%EXE%"
exit /b 2
)
if "%~1"=="" goto :usage
set "ENVIRONMENT=%~1"
if "%~2"=="" (
set "OUTPUT=%CD%\IIS-Dokumentation\%ENVIRONMENT%"
) else (
set "OUTPUT=%~2"
)
echo ============================================================
echo BizTalk IIS Environment Inventory
echo Umgebung: %ENVIRONMENT%
echo Ausgabe: %OUTPUT%
echo Modus: read-only
echo ============================================================
echo.
"%EXE%" --environment "%ENVIRONMENT%" --output "%OUTPUT%"
set "EXITCODE=%ERRORLEVEL%"
echo.
if "%EXITCODE%"=="0" (
echo Erfassung vollstaendig abgeschlossen.
) else if "%EXITCODE%"=="1" (
echo Erfassung mit Teilfehlern abgeschlossen. DOCX und Log pruefen.
) else (
echo Erfassung konnte nicht abgeschlossen werden.
)
echo ExitCode: %EXITCODE%
exit /b %EXITCODE%
:usage
echo Aufruf:
echo run-inventory.cmd ACC C:\IIS-Doku\ACC
echo run-inventory.cmd PROD C:\IIS-Doku\PROD
exit /b 2