Hello all,
I believe that this is a simple problem and that it may be already answered in a lot of other topics but unfortunately, all the scripts that I tested didn't solve my problem.
I need to deploy a policy to local users only avoiding the managed accounts.
I noticed that the perfect way is using the UID but I can't seem to use the scripts that I have found here.
I need a way to list local users (501 and above) and the managed accounts (one that I have identified its 2146602887). The best way would be creating a smart group so that I could scope only to that group.
I'm not worried with users changing the UID because I know they won't do it, I really just need to filter the users.
