mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-15 10:23:37 +00:00
add aadajAttribution
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user