38 lines
1.3 KiB
Markdown
38 lines
1.3 KiB
Markdown
# 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)
|
||
- **HTML‑Report** mit **Farben** (grün = Started/Enabled, rot = Stopped/Disabled/Unbound/Bound)
|
||
- **Remote‑fähig**: `-Server` Parameter (WMI unter `root\MicrosoftBizTalkServer`)
|
||
- **Logging**: Konsole + `BizTalkStatusTool.log`
|
||
|
||
## Verwendung (Beispiele)
|
||
```powershell
|
||
# Snapshot VOR Downtime vom Remote‑Server
|
||
.\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
|
||
```
|
||
|
||
## Status‑Mapping
|
||
- **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 BizTalk‑Dokumentation (siehe `REFERENCES.md`).
|
||
|
||
## Releases
|
||
Fertige Skripte liegen im Ordner `/release`.
|
||
|
||
## Tags
|
||
Mit `tools/Create-Tags.ps1` kannst du lokale Git‑Tags (`v1.0.0`, `v1.1.0`, `v1.2.0`, `v1.3.0`) erstellen.
|