mirror of
https://github.com/netbirdio/docs.git
synced 2026-10-04 12:49:04 +02:00
Update public/docs-static/files/netbird-policy.reg.ps1
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
coderabbitai[bot]
parent
1e6a964f32
commit
2aa5f3918e
@@ -85,7 +85,11 @@ if ($LASTEXITCODE -ne 0) {
|
|||||||
|
|
||||||
# Audit dump so the JumpCloud per-execution log captures the applied state.
|
# Audit dump so the JumpCloud per-execution log captures the applied state.
|
||||||
Write-Host "[netbird-mdm] final policy state under $RegKey :"
|
Write-Host "[netbird-mdm] final policy state under $RegKey :"
|
||||||
& reg.exe query $RegKey /s
|
if (Test-Path "Registry::$RegKey") {
|
||||||
|
& reg.exe query $RegKey /s
|
||||||
|
} else {
|
||||||
|
Write-Host "[netbird-mdm] no policy values present under $RegKey"
|
||||||
|
}
|
||||||
|
|
||||||
# Daemon's 1-min reload ticker picks up the change automatically.
|
# Daemon's 1-min reload ticker picks up the change automatically.
|
||||||
# Uncomment to force immediate convergence (skips the ticker wait):
|
# Uncomment to force immediate convergence (skips the ticker wait):
|
||||||
|
|||||||
Reference in New Issue
Block a user