Hi there, I am trying to think of a way to copy one .xlsx file to every folder inside of a directory. I don't want to copy to those folders subfolders, just their parent folders.
I'm thinking Copy-File is the cmdlet I want, but I'm not sure how to tell it to copy to all of the folders, that are in the same directory.
Anyone have any ideas?
So my goal here is to copy a spreadsheet into everyones home directories where they will put a username, and password that they use, I then want to combine all of those entries into one spreadsheet. Maybe someone else has done something similar and has a better suggestion?