Files
BizTalkStatusTool/README.md

38 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.