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