I’m trying to use gci on the results of an earlier gci.
Let me explain myself.
I have to search and delete certain files in the homefolders of users.
So I did first $users = gci c:\homefolders -name to get all the names off the userdirs. After this I want to use gci $users\specificdir or something but I cant find out if I have to use foreach command for that. I’m stuck.
I’m also using this construction to don’t overload the server