Feature Request: Enable client installer to accept command line arguments for assigning labels at installation time
duckexmachina opened this issue · 1 comments
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
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.