added force update to group policy

This commit is contained in:
Mathew 2024-09-23 09:37:29 +00:00
parent a23fb30c74
commit 8fec63777a

View File

@ -441,6 +441,8 @@ if ($shouldCreateService) {
}
}
gpupdate /force
Write-Host "Installing Promtail Windows Service"
Start-Process -FilePath $fullWinSWBinPath -ArgumentList @("install") -NoNewWindow