Skip to content
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

Feature Request: Enable client installer to accept command line arguments for assigning labels at installation time #1003

Open
duckexmachina opened this issue Nov 17, 2022 · 1 comment

Comments

@duckexmachina
Copy link

Environment
N/A

Describe the issue
Per-client label assignment in the GUI is tedious
Assigning labels to hosts at client install requires repacking the clients for every different desired label

Enabling command line arguments for the client installer like:

GRR_3.4.6.0_amd64.exe --label=Incident_2023.43_Smith

could enable more efficient scripted installs

Error logs
N/A

Additional context
N/A

@Karneades
Copy link

Karneades commented Aug 27, 2023

Check out https://github.com/swisscom/PowerGRR and especially the command Set-GRRLabel or Remove-GRRLabel, e.g., https://github.com/swisscom/PowerGRR/blob/master/docs/Set-GRRLabel.md which provides a more convenient way of setting labels.

Use $GRRCredential for setting the credentials before running the commands and the parameter -Credential is not needed anymore for each command. See authentication section in readme.

Set-GRRLabel -ComputerName host1, host2 -Label label1

or

 "host1", "host2" | Set-GRRLabel -Label label1

PowerGRR allows to use then only actions against those clients, see examples.

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

No branches or pull requests

2 participants