nemorx.blogg.se

Powershell set share permissions
Powershell set share permissions







powershell set share permissions

One favorite tool to perform file migrations is robocopy. When doing a massive migration like entire file servers with intricate permissions in place, it’s important to keep those permissions with the objects as they move to the new location.

powershell set share permissions powershell set share permissions

When moving files to a new location, the permissions don’t always come with them. Depending on how many files you’re migrating, this can be a lot. On each file and folder could potentially be a different set of Access Control Entries (ACEs) that make up an Access Control List (ACL). When doing any file migration, you not only have to consider the files and folder themselves but also the permissions set on those objects. Maintaining file share permissions across servers can be a major challenge but by using PowerShell, we can automate this process allowing you to go home early.









Powershell set share permissions