by albertwt at 2013-01-08 22:48:26
Hi,by Infradeploy at 2013-01-09 06:46:20
I’d like to do Fileserver migration, so can anyone here please assist me with the Powershell script which can do the Directory structure copy along with the ACL and permission (just the directory only without the files) ?
I’d use the trusted robocopy command line tool. Not as much fun but it is ready made.by DonJ at 2013-01-09 11:24:19
Add the ‘/sec’ paramater to copy security
+1 on Robocopy. There’s nothing native in PowerShell that will do this for you, and coding it would be pretty time-consuming. Robocopy is free and already does it.by megamorf at 2013-01-09 16:34:54
Yes, robocopy or xcopy are the preferred tools to create a copy of a directory structure with its permissions.