added force update to group policy
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user