Created
August 28, 2019 18:54
-
-
Save jfrantz1-r7/152352547c5f52d34b411f50a5a73241 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$url = "https://s3.amazonaws.com/com.rapid7.razor.public/endpoint/agent/latest/windows/x86_64/PyForensicsAgent-x64.msi" | |
$output = "$PSScriptRoot\agentInstaller-x86_64.msi" | |
Invoke-WebRequest -Uri $url -OutFile $output | |
msiexec /i $output CUSTOM_TOKEN=<REPLACE ME> /qn | |
rm $output, cafile.pem, client.crt, client.key, client.pem, config.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment