Closed Rebits closed 2 years ago
The proposed command works without problem in the following OS:
In this set of tests, it will install an agent in different Windows OS using the following command:
Invoke-WebRequest -Uri https://packages.wazuh.com/4.x/windows/wazuh-agent-4.2.6-1.msi -OutFile ${env:tmp}\wazuh-agent-4.2.6.msi; msiexec.exe /i ${env:tmp}\wazuh-agent-4.2.6.msi /q WAZUH_MANAGER='172.31.31.234' WAZUH_REGISTRATION_SERVER='172.31.31.234' WAZUH_AGENT_GROUP='default'
I have tested the command in Windows 7 instance, the command doesn't work because such command doesn't exists as @fedepacher points out. We have to research a new way to perform the download in older powershell terminal
suggestion to start research: (New-Object System.Net.WebClient).DownloadString("URL")
Related issue: https://github.com/wazuh/wazuh-kibana-app/issues/4085.
Description
The command to install an agent displayed by the UI step-by-step guide does not work correctly, as explained in https://github.com/wazuh/wazuh-kibana-app/issues/4085. It is required to test the proposed install command in a set of Windows OS.
Target Windows OS
Checks
C:\windows\system32
pathAuditors validation