# cluberti/vdi architecture

> Architecture diagram of the GitHub repository cluberti/vdi, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cluberti/vdi
- Repository: https://github.com/cluberti/vdi

## Overview

##### Main Components
- Active Component: Windows 10 Script – Represented by the ConfigAsVDI.ps1. This is the primary, actively maintained script for configuring VDI on Windows 10 Enterprise.
- Archived/Reference Components:
– WIN7 Directory: Contains the Windows 7 version of the VDI script (windows7vdiscript.vbs) and an accompanying explanatory file (setting-reasoning.txt).
– WIN8 Directory: Contains the Windows 8 version (windows8vdiscript.vbs) and its own readme.txt.

##### Architectural Patterns and Design Principles
- Clearly label dependencies or any preliminary checks the script performs (e.g., version checking in the Windows 10 script) to underscore that it is tailored to a specific Windows variant.

##### Acknowledge the Technologies Involved
- That the primary script is a PowerShell script (ConfigAsVDI.ps1) for Windows 10.
- The archived scripts are VBScript files (windows7vdiscript.vbs and windows8vdiscript.vbs).

## Diagram (Mermaid)

```mermaid
graph TD
    Repo("VDI Repository"):::repo

    subgraph "Active Scripts"
        W10("Windows 10 VDI Script - Active\n(Tested on Enterprise Only)"):::active
    end

    subgraph "Archived Scripts"
        subgraph "Windows 7 Archived Scripts"
            W7Script("VDI Script (windows7vdiscript.vbs)"):::archived
            W7Doc("Documentation (setting-reasoning.txt)"):::archived
        end
        subgraph "Windows 8 Archived Scripts"
            W8Script("VDI Script (windows8vdiscript.vbs)"):::archived
            W8Doc("Documentation (readme.txt)"):::archived
        end
    end

    Repo -->|"Active"| W10
    Repo -->|"Legacy/Archival"| W7Script
    Repo -->|"Legacy/Archival"| W7Doc
    Repo -->|"Legacy/Archival"| W8Script
    Repo -->|"Legacy/Archival"| W8Doc

    click W10 "https://github.com/cluberti/vdi/blob/master/ConfigAsVDI.ps1"
    click W7Script "https://github.com/cluberti/vdi/blob/master/WIN7/windows7vdiscript.vbs"
    click W7Doc "https://github.com/cluberti/vdi/blob/master/WIN7/setting-reasoning.txt"
    click W8Script "https://github.com/cluberti/vdi/blob/master/WIN8/windows8vdiscript.vbs"
    click W8Doc "https://github.com/cluberti/vdi/blob/master/WIN8/readme.txt"

    classDef active fill:#A2F3A2,stroke:#333,stroke-width:2px;
    classDef archived fill:#D3D3D3,stroke:#333,stroke-width:2px,stroke-dasharray: 5,5;
    classDef repo fill:#CCE5FF,stroke:#333,stroke-width:2px;
```
