added log message
This commit is contained in:
@@ -5,3 +5,4 @@ If ( !((Get-ItemProperty -Path $REG_PATH -Name $REG_PROP -ErrorAction SilentlyCo
|
||||
Try { New-ItemProperty -Path $REG_PATH -Name $REG_PROP -PropertyType DWord -Value 1 | Out-Null }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
}
|
||||
Else { LogMsg "The registry path already exists: ""${REG_PATH}\${REG_PROP}""" }
|
||||
|
||||
Reference in New Issue
Block a user