Score:0

Assign an AD Group Read only Permission to Multiple User Home Drive Folders using CSV list

tz flag

I'm trying to put together a script to perform the following task:

First to add an AD Security Group named "ADMigration" and assign it (Read access) to a large list of User Home Drives (folders) contained in a CSV file.

I have a master user list CSV file with the home drive location/path and would like to leverage the list to apply the new permissions to the ACL of each user home folders.

I have been reading so many articles on assigning permission using Set-ACL, Get-ACL and modules like ADD-NTFDAccess etc, but have now got to the point where I'm confusing myself.

Could I please ask one of you clever people to possibly assist me with a script to accomplish this or at least point me in the best direction or way of achieving the above, or perhaps have done something similar in the past and can share a script?

Would really appreciate all your input and any suggestions you have please.

Many thanks

Nitrox

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.