Label based on Registry value not matching a KACE variable
We currently use LogMeIn for some remote support. The issue is when a computer gets re-named, the LMI description does not automatically update. So if my-pc-bob gets renamed to my-pc-sally, LMI still shows the old name making it difficult. I am trying to find the best way to check if a registry key matches the computer host name and if not, set it to the host name.
I was checking to see if there as a $KACE variable for the computer name, but there does not seem to be one. I don't want to generate a script that runs on all computers to keep this in sync. I would rather create a label for computers that do not match the name to the registry key and then have a script run daily against that label.