We are writing a script to install the agent on Windows stations in our AD. We are facing an issue where the MSI installer Discovery_Agent_Setup_x64.msi does not accept /quiet key for unattended installation.
Has anyone encountered this problem ?
Is there any step by step discribed manuals for that ?
This is what I have tried.
Local install
\Discovery_Agent_Setup_x64.msi /quie -not working
-----------------------------------------------------------------------------------
Powershell- the same command as remote installation script -not working
$username = 'admin'
$password = 'password'
$secpw = ConvertTo-SecureString $password -AsPlainText -Force
$cred = New-Object Management.Automation.PSCredential ($username, $secpw)
invoke-Command -Computername ComputerName -ScriptBlock {Start-process -FilePath "\\pc1\discovery\Discovery_Agent_Setup_x64.msi /quiet" /s -Wait} -Credential $cred