Return to site

Get share permissions powershell

broken image
broken image
broken image

(If you just want to see the scripts, look at the bottom of the current post for my export and look at the bottom of this post for my import).Īfter some searching, I found that MoW over at had done something along the lines that I was looking for. This would then be a 2 script deal, one to export the share info, and one to import. A couple of weeks ago I was searching for a way to do this so that if a file server has its OS corrupted, the iSCSI data store could be connected to another server and we could restore all the share info with permissions quickly. Building off my last post ( Using PowerShell to manipulate share permissions), it is possible to export share info into a CSV file to backup info for all the shares on a server.