From 67584ca6335920febfce8d3f275bfe64c187f7d9 Mon Sep 17 00:00:00 2001 From: Meghan Stewart <33289333+mestew@users.noreply.github.com> Date: Fri, 16 Sep 2022 16:15:12 -0700 Subject: [PATCH] add aadajAttribution --- windows/deployment/update/waas-wu-settings.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/windows/deployment/update/waas-wu-settings.md b/windows/deployment/update/waas-wu-settings.md index 7ce0aae346..cfe3f8800a 100644 --- a/windows/deployment/update/waas-wu-settings.md +++ b/windows/deployment/update/waas-wu-settings.md @@ -269,10 +269,9 @@ $registryPath = "HKLM:\Software\Microsoft\WindowsUpdate\Orchestrator\Configurati $Name = "UsoDisableAADJAttribution" $value = "1" -if (!(Test-Path $registryPath)) { - - New-Item -Path $registryPath -Force | Out-Null - +if (!(Test-Path $registryPath)) +{ + New-Item -Path $registryPath -Force | Out-Null } New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType DWORD -Force | Out-Null