add aadajAttribution

This commit is contained in:
Meghan Stewart
2022-09-16 16:15:12 -07:00
parent 0f664c7d1d
commit 67584ca633

View File

@ -269,10 +269,9 @@ $registryPath = "HKLM:\Software\Microsoft\WindowsUpdate\Orchestrator\Configurati
$Name = "UsoDisableAADJAttribution" $Name = "UsoDisableAADJAttribution"
$value = "1" $value = "1"
if (!(Test-Path $registryPath)) { if (!(Test-Path $registryPath))
{
New-Item -Path $registryPath -Force | Out-Null New-Item -Path $registryPath -Force | Out-Null
} }
New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType DWORD -Force | Out-Null New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType DWORD -Force | Out-Null