added force update to group policy
This commit is contained in:
parent
a23fb30c74
commit
8fec63777a
@ -441,6 +441,8 @@ if ($shouldCreateService) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gpupdate /force
|
||||||
|
|
||||||
Write-Host "Installing Promtail Windows Service"
|
Write-Host "Installing Promtail Windows Service"
|
||||||
|
|
||||||
Start-Process -FilePath $fullWinSWBinPath -ArgumentList @("install") -NoNewWindow
|
Start-Process -FilePath $fullWinSWBinPath -ArgumentList @("install") -NoNewWindow
|
||||||
|
Loading…
x
Reference in New Issue
Block a user