I have tried searching for this, but I do not think I am using the correct words.
I am creating a script that needs to work on many environments. One of the specifications, is that I need to be able to delete a certain directory in a users AppData. Problem with it, is I do not know how to set a dynamic path.
I.e. C:\Users\User1\AppData\Local\X compared to C:\Users\User2\AppData\Local\X
How would I get and specify a series of user accounts on the local machine, ideally with out polling AD?