{
  "schema_version": 1,
  "status": "selected_article_blocks_executed",
  "guide_id": 983,
  "guide_url": "https://mexela.com/blog/powershell-proxy-setup/",
  "executed_date": "2026-10-20",
  "runtime": "PowerShell 7.6.7 / Ubuntu 24.04.4 under WSL",
  "source_body_sha256": "d8807a1901d17013e63fedea1e118eacdf28b2bad3c9bd96e975fbebe7856934",
  "code_fingerprint": {
    "blocks": 2,
    "sha256": "9859eb47764cf704966a5a46948e323cc6d08ad7285cda099acfdc0759e95def"
  },
  "checks_passed": 4,
  "checks": [
    {
      "name": "Invoke-WebRequest article block 1 authenticated HTTPS CONNECT",
      "passed": true,
      "source_block_indices": [
        1
      ],
      "adaptations": [
        "Reserved URLs replaced by environment-selected owned HTTPS fixture.",
        "Interactive Read-Host/Get-Credential replaced by per-subprocess fixture inputs; request/deadline helper and credential object remain intact.",
        "Block2 composed with block1 defining shared variables and helper.",
        "Append sanitized result output only."
      ],
      "command": [
        "release/powershell-runtime-20261016/runtime/pwsh",
        "-NoLogo",
        "-NoProfile",
        "-NonInteractive",
        "-File",
        "reports/seo-five-guide-execution-20261020/powershell-webrequest.ps1"
      ],
      "result": {
        "exit_code": 0,
        "proxy_upstreams": null,
        "proxy_connect_attempts": 2,
        "destination_requests": 1,
        "denied": null,
        "elapsed_ms": null,
        "output": "{\"StatusCode\":200,\"ContentLength\":33,\"PSComputerName\":\"localhost\",\"RunspaceId\":\"5e128d7d-23f4-4702-bd5b-0015a17b0961\",\"PSShowComputerName\":false}",
        "error_type": null
      },
      "executed_program_sha256": "194b8a99ea59200955dcd51f108377bc99339227f2d2fd20a5bacfa7fe8ebaa1"
    },
    {
      "name": "Invoke-RestMethod article block 2 with block 1 deadline helper",
      "passed": true,
      "source_block_indices": [
        1,
        2
      ],
      "adaptations": [
        "Reserved URLs replaced by environment-selected owned HTTPS fixture.",
        "Interactive Read-Host/Get-Credential replaced by per-subprocess fixture inputs; request/deadline helper and credential object remain intact.",
        "Block2 composed with block1 defining shared variables and helper.",
        "Append sanitized result output only."
      ],
      "command": [
        "release/powershell-runtime-20261016/runtime/pwsh",
        "-NoLogo",
        "-NoProfile",
        "-NonInteractive",
        "-File",
        "reports/seo-five-guide-execution-20261020/powershell-restmethod.ps1"
      ],
      "result": {
        "exit_code": 0,
        "proxy_upstreams": null,
        "proxy_connect_attempts": 4,
        "destination_requests": 2,
        "denied": null,
        "elapsed_ms": null,
        "output": "{\"fieldPresent\":true}",
        "error_type": null
      },
      "executed_program_sha256": "f505326bf2025d290e9148dfb4523100d9e63710a14cd8ad78543b897b731fbb"
    },
    {
      "name": "Default trust rejects disposable CA",
      "passed": true,
      "source_block_indices": [
        1
      ],
      "adaptations": [
        "Reserved URLs replaced by environment-selected owned HTTPS fixture.",
        "Interactive Read-Host/Get-Credential replaced by per-subprocess fixture inputs; request/deadline helper and credential object remain intact.",
        "Block2 composed with block1 defining shared variables and helper.",
        "Append sanitized result output only."
      ],
      "command": [
        "release/powershell-runtime-20261016/runtime/pwsh",
        "-NoLogo",
        "-NoProfile",
        "-NonInteractive",
        "-File",
        "reports/seo-five-guide-execution-20261020/powershell-webrequest.ps1"
      ],
      "result": {
        "exit_code": 1,
        "proxy_upstreams": null,
        "proxy_connect_attempts": 2,
        "destination_requests": 0,
        "denied": null,
        "elapsed_ms": null,
        "output": null,
        "error_type": "certificate_rejected"
      },
      "executed_program_sha256": "194b8a99ea59200955dcd51f108377bc99339227f2d2fd20a5bacfa7fe8ebaa1"
    },
    {
      "name": "Wrong proxy credential rejected before destination",
      "passed": true,
      "source_block_indices": [
        1
      ],
      "adaptations": [
        "Reserved URLs replaced by environment-selected owned HTTPS fixture.",
        "Interactive Read-Host/Get-Credential replaced by per-subprocess fixture inputs; request/deadline helper and credential object remain intact.",
        "Block2 composed with block1 defining shared variables and helper.",
        "Append sanitized result output only."
      ],
      "command": [
        "release/powershell-runtime-20261016/runtime/pwsh",
        "-NoLogo",
        "-NoProfile",
        "-NonInteractive",
        "-File",
        "reports/seo-five-guide-execution-20261020/powershell-webrequest.ps1"
      ],
      "result": {
        "exit_code": 1,
        "proxy_upstreams": null,
        "proxy_connect_attempts": 2,
        "destination_requests": 0,
        "denied": null,
        "elapsed_ms": null,
        "output": null,
        "error_type": "proxy407"
      },
      "executed_program_sha256": "194b8a99ea59200955dcd51f108377bc99339227f2d2fd20a5bacfa7fe8ebaa1"
    }
  ],
  "findings": "Invoke-WebRequest and Invoke-RestMethod ran with the published job/deadline helper and a PSCredential. Both reached the local HTTPS fixture through authenticated CONNECT; default trust rejected its disposable certificate, and an incorrect proxy password stopped before the destination. The returned JSON field was synthetic fixture data.",
  "limits": [
    "PowerShell7 on Linux was executed; WindowsPowerShell5.1 was not tested. Interactive input was replaced by per-process fixture input. A literal loopback target in the first attempt bypassed the proxy, so the verified run used the guide’s reserved hostname mapped only inside the restricted CONNECT fixture. No hosts-file or trust-store change was made.",
    "Local owned fixtures only. No production or commercial proxy requests, no public exit/geography/anonymity/speed/uptime certification, and no SEO or conversion effect inferred.",
    "Commands are the real invocation structure with local machine roots replaced; cached dependency locations and supplied environment values are intentionally not published.",
    "This dated receipt is an execution observation, not a claim that tested versions are the latest releases."
  ],
  "primary_documentation": "https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.6"
}
