{
  "metadata": {
    "os": "Windows",
    "hostname": "EXAMPLE-WIN-HOST",
    "timestamp": "2026-05-07T08:00:00Z",
    "module": "all",
    "format": "json",
    "script": "windows-health-check.ps1"
  },
  "modules": {
    "system": {
      "status": "ok",
      "commands": [
        {
          "name": "computer_info",
          "command": "Get-ComputerInfo | Select-Object CsName, WindowsProductName, WindowsVersion, OsArchitecture",
          "exit_code": 0,
          "output": "CsName WindowsProductName WindowsVersion OsArchitecture\n------ ------------------ -------------- --------------\nEXAMPLE-WIN-HOST Windows Server 2022 2009 64-bit"
        }
      ],
      "warnings": [],
      "errors": []
    },
    "disk": {
      "status": "ok",
      "commands": [],
      "warnings": [],
      "errors": []
    },
    "network": {
      "status": "ok",
      "commands": [],
      "warnings": [],
      "errors": []
    },
    "service": {
      "status": "ok",
      "commands": [],
      "warnings": [],
      "errors": []
    },
    "process": {
      "status": "ok",
      "commands": [],
      "warnings": [],
      "errors": []
    },
    "package": {
      "status": "ok",
      "commands": [
        {
          "name": "installed_packages",
          "command": "Get-Package | Select-Object -First 30 Name, Version, ProviderName",
          "exit_code": 0,
          "output": "Name Version ProviderName\n---- ------- ------------\nPowerShell 7.4.0 Programs"
        }
      ],
      "warnings": [],
      "errors": []
    },
    "security": {
      "status": "ok",
      "commands": [
        {
          "name": "firewall_profiles",
          "command": "Get-NetFirewallProfile",
          "exit_code": 0,
          "output": "Name Enabled DefaultInboundAction DefaultOutboundAction\n---- ------- -------------------- ---------------------\nDomain True Block Allow"
        }
      ],
      "warnings": [],
      "errors": []
    },
    "container": {
      "status": "warning",
      "commands": [],
      "warnings": [
        {
          "name": "docker",
          "message": "Command not available: docker"
        }
      ],
      "errors": []
    },
    "log": {
      "status": "ok",
      "commands": [
        {
          "name": "system_errors",
          "command": "Get-WinEvent -FilterHashtable @{ LogName = \"System\"; Level = 2 } -MaxEvents 20",
          "exit_code": 0,
          "output": "TimeCreated ProviderName Id Message\n----------- ------------ -- -------"
        }
      ],
      "warnings": [],
      "errors": []
    }
  },
  "summary": {
    "status": "warning",
    "warnings_count": 1,
    "errors_count": 0
  },
  "errors": []
}
