‘C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe’ ‘-NoProfile’ ‘-NoLogo’ ‘-ExecutionPolicy’ ‘ByPass’ ‘-C’ ‘try { Use-Icinga -Minimal; } catch { Write-Output ‘'‘The Icinga PowerShell Framework is either not installed on the system or not configured properly. Please check Introduction - Icinga for Windows for further details’'’; Write-Output ‘'‘Error:’'’ $($_.Exception.Message)Components:rn$( Get-Module -ListAvailable ‘'‘icinga-powershell-*’'’ )rn’'‘Module-Path:’''rn$($Env:PSModulePath); exit 3; }; Exit-IcingaExecutePlugin -Command ‘'‘Invoke-IcingaCheckUpdates’'’ ’ ‘-UpdateFilter’ ‘@()’
But If I run the “Invoke-IcingaCheckUpdates” from the AGENT host the output is this one:
TRy this - But have error:
Set-IcingaServiceUser -User ‘NT AUTHORITY\SYSTEM’ -SetPermission;
[Error]: Failed to update the service user: [SC] OpenService OPERAZIONI NON RIUSCITE 5:Accesso negato.
And this:
Set-IcingaServiceUser -User ‘NT AUTHORITY\SYSTEM’ -Service ‘icingapowershellservice’ -SetPermission;
False