Using a BigFix Task to Add a Local User Account


I’m trying to add a task that will add a local user account to laptops. I am able to get the account created successfully using the action script:
waithidden cmd.exe /c net user /add UserAccount Password

I just had two questions to improve this:
1.) Is there a way to not have the password be in plain text but the task still run properly?
2.) Is there a relevance clause I can add that will remove a machine as being relevant to the task once the user account is created on that machine?



Yes, using secure parameters, though secure parameter actions MUST be targeted to specific endpoints and CANNOT be targeted dynamically.



Related Example:

not exists names whose(it = "bigfix") of local users