# jowelgod/windows-server-healthcheck architecture

> Architecture diagram of the GitHub repository jowelgod/windows-server-healthcheck, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jowelgod/windows-server-healthcheck
- Repository: https://github.com/jowelgod/windows-server-healthcheck

## Overview

This is a local Windows Server health-check script. An operator runs the script, which uses configuration to inspect server resources and services, evaluates findings into an overall status, then produces reports and logs; email delivery and PDF generation are optional. The README documents these capabilities, but no source excerpts were provided, so implementation details and call-level relationships cannot be verified. The checks are grouped by domain while retaining the documented report formats and optional delivery branch.

Main entry points: [`HealthCheck.ps1`](https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1) (HealthCheck Script), [`config.json`](https://github.com/jowelgod/windows-server-healthcheck/blob/main/config.json) (Server Configuration), [`reports/html`](https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/html) (HTML Reports), [`reports/pdf`](https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/pdf) (PDF Reports)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Health Check"]
  node_script["HealthCheck Script<br/>[HealthCheck.ps1]"]
  node_config["Server Configuration<br/>[config.json]"]
  node_resources["OS and Resource Checks<br/>[HealthCheck.ps1]"]
  node_services["Service Checks<br/>[HealthCheck.ps1]"]
  node_iis["IIS Checks<br/>[HealthCheck.ps1]"]
  node_network["URL and Port Checks<br/>[HealthCheck.ps1]"]
  node_events_tasks["Events and Tasks<br/>[HealthCheck.ps1]"]
  node_status["Status Evaluation<br/>[HealthCheck.ps1]"]
end

subgraph group_outputs["Results and Delivery"]
  node_html["HTML Reports"]
  node_pdf["PDF Reports"]
  node_json["JSON Results"]
  node_logs["Execution Logs"]
  node_email["Email Delivery<br/>[HealthCheck.ps1]"]
end

node_operator(("Operator"))
node_smtp["SMTP Service"]
node_windows["Windows Server"]
node_iis_host["IIS"]

node_operator -->|"runs"| node_script
node_script -->|"uses configuration"| node_config
node_script -->|"collects"| node_resources
node_script -->|"validates"| node_services
node_script -->|"validates"| node_iis
node_script -->|"checks"| node_network
node_script -->|"reviews"| node_events_tasks
node_resources -->|"queries"| node_windows
node_services -->|"queries"| node_windows
node_events_tasks -->|"queries"| node_windows
node_iis -->|"checks"| node_iis_host
node_script -->|"evaluates findings"| node_status
node_status -->|"generates"| node_html
node_status -.->|"generates"| node_pdf
node_status -->|"generates"| node_json
node_script -->|"saves logs"| node_logs
node_script -.->|"optionally delivers"| node_email
node_email -.->|"sends through"| node_smtp

click node_script "https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1"
click node_config "https://github.com/jowelgod/windows-server-healthcheck/blob/main/config.json"
click node_resources "https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1"
click node_services "https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1"
click node_iis "https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1"
click node_network "https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1"
click node_events_tasks "https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1"
click node_status "https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1"
click node_html "https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/html"
click node_pdf "https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/pdf"
click node_json "https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/json"
click node_logs "https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/logs"
click node_email "https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_script,node_config,node_resources,node_services,node_iis,node_network,node_events_tasks,node_status toneBlue
class node_html,node_pdf,node_json,node_logs,node_email toneAmber
class node_operator,node_smtp,node_iis_host toneIndigo
class node_windows toneMint
```

## Components

### Health Check

- [HealthCheck Script](https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1): `HealthCheck.ps1`
- [Server Configuration](https://github.com/jowelgod/windows-server-healthcheck/blob/main/config.json): `config.json`
- [OS and Resource Checks](https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1): `HealthCheck.ps1`
- [Service Checks](https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1): `HealthCheck.ps1`
- [IIS Checks](https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1): `HealthCheck.ps1`
- [URL and Port Checks](https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1): `HealthCheck.ps1`
- [Events and Tasks](https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1): `HealthCheck.ps1`
- [Status Evaluation](https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1): `HealthCheck.ps1`

### Results and Delivery

- [HTML Reports](https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/html): `reports/html`
- [PDF Reports](https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/pdf): `reports/pdf`
- [JSON Results](https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/json): `reports/json`
- [Execution Logs](https://github.com/jowelgod/windows-server-healthcheck/tree/main/reports/logs): `reports/logs`
- [Email Delivery](https://github.com/jowelgod/windows-server-healthcheck/blob/main/HealthCheck.ps1): `HealthCheck.ps1`

### Other components

- **Operator**
- **SMTP Service**
- **Windows Server**
- **IIS**

## Connections

- Operator → HealthCheck Script: runs (evidence: `README.md`)
- HealthCheck Script → Server Configuration: uses configuration (evidence: `README.md`)
- HealthCheck Script → OS and Resource Checks: collects (evidence: `README.md`)
- HealthCheck Script → Service Checks: validates (evidence: `README.md`)
- HealthCheck Script → IIS Checks: validates (evidence: `README.md`)
- HealthCheck Script → URL and Port Checks: checks (evidence: `README.md`)
- HealthCheck Script → Events and Tasks: reviews (evidence: `README.md`)
- OS and Resource Checks → Windows Server: queries (evidence: `README.md`)
- Service Checks → Windows Server: queries (evidence: `README.md`)
- Events and Tasks → Windows Server: queries (evidence: `README.md`)
- IIS Checks → IIS: checks (evidence: `README.md`)
- HealthCheck Script → Status Evaluation: evaluates findings (evidence: `README.md`)
- Status Evaluation → HTML Reports: generates (evidence: `README.md`)
- Status Evaluation → PDF Reports: generates (evidence: `README.md`)
- Status Evaluation → JSON Results: generates (evidence: `README.md`)
- HealthCheck Script → Execution Logs: saves logs (evidence: `README.md`)
- HealthCheck Script → Email Delivery: optionally delivers (evidence: `README.md`)
- Email Delivery → SMTP Service: sends through (evidence: `README.md`)
