Initial version BizTalkStatus Tool.

This commit is contained in:
2026-02-02 13:18:48 +01:00
commit cff972a0bf
8 changed files with 395 additions and 0 deletions

37
README.md Normal file
View File

@@ -0,0 +1,37 @@
# BizTalk Status Tool (PowerShell only)
**Version:** 1.3.0
**Kompatibel mit:** Windows Server 2019, PowerShell 5.1, BizTalk Server 2020
## Features
- Snapshots **vor**/**nach** Downtime als JSON
- **Diff** zwischen Snapshots (nur Änderungen)
- **HTMLReport** mit **Farben** (grün = Started/Enabled, rot = Stopped/Disabled/Unbound/Bound)
- **Remotefähig**: `-Server` Parameter (WMI unter `root\MicrosoftBizTalkServer`)
- **Logging**: Konsole + `BizTalkStatusTool.log`
## Verwendung (Beispiele)
```powershell
# Snapshot VOR Downtime vom RemoteServer
.\src\BizTalkStatusTool.ps1 -Before -Server "BTAPP01" -OutDir .\work
# Snapshot NACH Downtime
.\src\BizTalkStatusTool.ps1 -After -Server "BTAPP01" -OutDir .\work
# Diff erstellen (Text + HTML im gleichen Ordner)
cd .\work
..\src\BizTalkStatusTool.ps1 -Compare
```
## StatusMapping
- **SendPort.Status**: 1=Bound, 2=Stopped, 3=Started
- **Orchestration.OrchestrationStatus**: 1=Unbound, 2=Bound, 3=Stopped, 4=Started
- **ReceiveLocation**: `Enabled = -not IsDisabled`
**Hinweis:** Diese Mappings stammen aus der offiziellen BizTalkDokumentation (siehe `REFERENCES.md`).
## Releases
Fertige Skripte liegen im Ordner `/release`.
## Tags
Mit `tools/Create-Tags.ps1` kannst du lokale GitTags (`v1.0.0`, `v1.1.0`, `v1.2.0`, `v1.3.0`) erstellen.