# bisman-singh/disk-space-reporter architecture

> Architecture diagram of the GitHub repository bisman-singh/disk-space-reporter, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bisman-singh/disk-space-reporter
- Repository: https://github.com/bisman-singh/disk-space-reporter

## Overview

Disk Space Reporter is a small PowerShell utility: a user runs the script, which reports drive capacity and utilization, classifies usage against configurable thresholds, and presents a console report or optionally generates an HTML report. The README documents these capabilities and usage; no source excerpts were available, so the graph reflects documented behavior only.

Main entry points: [`Get-DiskReport.ps1`](https://github.com/bisman-singh/disk-space-reporter/blob/main/Get-DiskReport.ps1) (Disk Reporter)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_reporter["Disk Reporter<br/>[Get-DiskReport.ps1]"]
node_drives["Drive Data"]
node_console["Console Report"]
node_html["HTML Report"]

node_user -->|"runs with options"| node_reporter
node_reporter -->|"lists capacity"| node_drives
node_reporter -->|"prints report"| node_console
node_reporter -.->|"generates optionally"| node_html

click node_reporter "https://github.com/bisman-singh/disk-space-reporter/blob/main/Get-DiskReport.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_user toneBlue
class node_reporter toneTeal
class node_drives,node_console,node_html toneIndigo
```

## Components

### Other components

- **User**
- [Disk Reporter](https://github.com/bisman-singh/disk-space-reporter/blob/main/Get-DiskReport.ps1): `Get-DiskReport.ps1`
- **Drive Data**
- **Console Report**
- **HTML Report**

## Connections

- User → Disk Reporter: runs with options (evidence: `README.md`)
- Disk Reporter → Drive Data: lists capacity (evidence: `README.md`)
- Disk Reporter → Console Report: prints report (evidence: `README.md`)
- Disk Reporter → HTML Report: generates optionally (evidence: `README.md`)
