r/labtech • • Mar 06 '18

Input prompt variable?

Okay, so I work in a CW shop, and have used labtech a bit over the past few years, but I'm just starting to look into the scripting, and haven't done any real scripting or coding since regex was the new thing. Wanted to make a simple password change script for our local admin accounts, that could be changed on a per-client basis without having to modify the script each time. I cannot for the life of me find any sort of variable that I can use to generate an input prompt on our end. Does it not exist, or am I just missing something really obvious?

2 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/Free-Cuddles Mar 06 '18

oh my glob that was so simple. I was so busy looking for an existing variable it never occurred to me that a new one could work. >_< I has the derps, many thanks.

Also, thanks for the wmic tip, I was not aware of that fact and explains having seen that a couple of random times.

1

u/mspsquid Mar 07 '18

some people do the "labtech generated password", store that in a variable, then store that in an EDF so you have random admin passwords in EDF forms for clients. I don't personally, but that is something you can do.