Preprocessing result

This commit is contained in:
Mr.k 2024-10-07 17:42:22 +03:00
parent 15024434d9
commit d535e7ebca
No known key found for this signature in database

View File

@ -36,7 +36,7 @@ function Set-WinUtilRegistry {
} }
Write-Host "Set $Path\$Name to $Value" Write-Host "Set $Path\$Name to $Value"
if ($Value -ne "<RemoveEntry>"){ if ($Value -ne "<RemoveEntry>") {
Set-ItemProperty -Path $Path -Name $Name -Type $Type -Value $Value -Force -ErrorAction Stop | Out-Null Set-ItemProperty -Path $Path -Name $Name -Type $Type -Value $Value -Force -ErrorAction Stop | Out-Null
} }
else{ else{