From 56a2c51c65e95db031403140ae88eecbbb05dc66 Mon Sep 17 00:00:00 2001 From: Jess Krynitsky Date: Wed, 18 Mar 2026 17:14:52 -0700 Subject: [PATCH] Fix variable name in switch statement for AIA check there was a bug in the script for retrieving AIA status. I tested this and updating here. --- .../security/authority-information-access-retrieval.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WindowsServerDocs/security/authority-information-access-retrieval.md b/WindowsServerDocs/security/authority-information-access-retrieval.md index fcb78c711c..4291fbd5c5 100644 --- a/WindowsServerDocs/security/authority-information-access-retrieval.md +++ b/WindowsServerDocs/security/authority-information-access-retrieval.md @@ -103,7 +103,7 @@ $propertyName = "Options" try { $regCheck = (Get-ItemProperty -Path $registryPath -Name $propertyName -ErrorAction Stop).$propertyName - switch ($value) { + switch ($regCheck) { 0 { "AIA is Enabled" } 2 { "AIA is Disabled" } default { "Unexpected value: $regCheck" }