and where are you stuck with that?

Have you looked into ‘copy-item’ and possibly the recurse switch?

e.g.

copy-item "\\server\share\clone" -destination "\\server\share\$samaccountname" -recurse

robocopy might do it it too? really depends on what exactly you need.

Give it a try.

If you post code, please use the ‘Insert Code’ button. Please and thank you!

1 Spice up