Skip to content

Mass deployment #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Mass deployment #42

wants to merge 5 commits into from

Conversation

davedhoff
Copy link
Contributor

This allows deployment of the BeaKer agent over a PS remote session as follows:
Invoke-Command -ComputerName (Get-Content .\systems.txt) -FilePath .\install-sysmon-beats.ps1 -ArgumentList "ip.of.BeaKer", "9200", $cred

systems.txt is a text file with the ips of each system the agent should be installed on, each on a new line.
$cred is a powershell credential object and can be defined with $cred = (Get-Credential)
If the agent is being installed locally, a credential object can be passed as an argument or the script will ask if none is provided. Passing the username/pass in plain text as arguments doesn't work with this change.

To whoever tests this out, shoot me an email (dave) if you need help setting up a windows environment that allows PS remoting. I suspect most real-life customers will already have it enabled in some way or another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant