INSTALLING EDR
FIRST ATTEMPT
Installed AQUILA AGENT FIRST.
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.18.6-windows-x86_64.zip -OutFile elastic-agent-8.18.6-windows-x86_64.zip
Installed AQUILA AGENT FIRST.
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.18.6-windows-x86_64.zip -OutFile elastic-agent-8.18.6-windows-x86_64.zip
Error command "Expand-Archive .\elastic-agent-8.18.6-windows-x86_64.zip -DestinationPath .cd elastic-agent-8.18.6-windows-x86_64"
This error occurs because there is already a file on that destination created by AQUILA AGENT upon installing.
Error:
Then proceeds to the next command.
cd elastic-agent-8.18.6-windows-x86_64
.\elastic-agent.exe install --url=https://517dc8848c734d909691ba9bd4f6feb4.fleet.us-east-1.aws.found.io:443 --enrollment-token=UEdBV3BwY0I4SWpwUW1qSTZoekE6M1RhMTVOc0JaR2JNNDYwVml5WGZWUQ==
Then Opening the Aquila Agent as Administrator.
cd elastic-agent-8.18.6-windows-x86_64
.\elastic-agent.exe install --url=https://517dc8848c734d909691ba9bd4f6feb4.fleet.us-east-1.aws.found.io:443 --enrollment-token=UEdBV3BwY0I4SWpwUW1qSTZoekE6M1RhMTVOc0JaR2JNNDYwVml5WGZWUQ==
Then Opening the Aquila Agent as Administrator.
RESULT:
HAS ERROR
SECOND ATTEMPT
Installed AQUILA AGENT FIRST.
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.18.6-windows-x86_64.zip -OutFile elastic-agent-8.18.6-windows-x86_64.zip
Then proceeds to the next command.
cd elastic-agent-8.18.6-windows-x86_64
.\elastic-agent.exe install --url=https://517dc8848c734d909691ba9bd4f6feb4.fleet.us-east-1.aws.found.io:443 --enrollment-token=UEdBV3BwY0I4SWpwUW1qSTZoekE6M1RhMTVOc0JaR2JNNDYwVml5WGZWUQ==
Then Opening the Aquila Agent as Administrator.
RESULT: