I’m trying to standardize hostnames on all of our PCs. We aren’t using AD, just local users. We have a standard for our hostnames to be “company-lastname-pc”… from what I understand WIN local users don’t have the concept of a last name. I’m wondering if there is anyway to pass in some sort of meta data from automox to the worklet so I can automate this. I would obviously need to tag the user in automox with their last name somehow… just wondering if this is doable.
Already have an account? Login
Login to the community
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
I’m thinking best option is if the local user account has the last name that could be parsed with some powershell magic.
For example let’s say a local user is jack.smith
If you go the API route and want to pull a tag from each machine. This script assumes only one tag exists and you have less than 500 agents in Automox.