Introducing G2.ai, the future of software buying.Try now
Peter G.
PG
system administrator at U.Z.Leuven

With 1.6, the windows agent is shipped as an msi. Before it was an exe. Before i installed cmk on a client by a powershell on a central server which, with msi it does not work.

1.5: this works: $session = New-PSSession -ComputerName $server -Credential $credential Invoke-Command -Session $session -ScriptBlock { C:\uz\Apps\Check_mk\check_mk_agent.exe install } Remove-PSSession $session 1.6 this does not work. $args = @( "'/i" "$localmsi_fqn" "/qn /log C:\UZ\Logs\Check_MK.log'" ) $command = "Start-Process msiexec -ArgumentList " + $args + " -Wait" $session = New-PSSession -ComputerName $server -Credential $credential Invoke-Command -Session $session -ScriptBlock { $command } Remove-PSSession $session Someone an idea what is wrong?
1 comment
Looks like you’re not logged in.
Users need to be logged in to answer questions
Log In
checkmk
Official Response
checkmk
CA
Marketing Manager
0
Hi Peter, We encourage you to post any technical questions directly on our user forum: https://forum.checkmk.com/ . I'm sure that our community members will be happy to provide tips on how to solve this issue. Regarding your question, there is a requirement to deliver our products for Windows only as MSI. Try using the following command line: msiexec /i check_mk_agent.msi /qn /L*V agent_msi.log From your post is not clear what is wrong with Powershell (many things can go wrong: access to the path, session rights, administrative rights etc.) Best, Cristian
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply