mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-16 19:03:46 +00:00
Update windows-autopatch-conflicting-configurations.md
Removing extra bracket
This commit is contained in:
@ -60,7 +60,7 @@ If you use either [**Detect**](#detect) and/or [**Remediate**](#remediate) actio
|
|||||||
```powershell
|
```powershell
|
||||||
if((Get-ItemProperty HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate).PSObject.Properties.Name -contains 'DoNotConnectToWindowsUpdateInternetLocations') {
|
if((Get-ItemProperty HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate).PSObject.Properties.Name -contains 'DoNotConnectToWindowsUpdateInternetLocations') {
|
||||||
Exit 1
|
Exit 1
|
||||||
}} else {
|
} else {
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user