We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Set directory premissions in Powershell

mikeydk
mikeydk asked
on
Medium Priority
441 Views
Last Modified: 2012-05-11
Hey

I have the following directory structure:

C:\Share\FirmA\AA
C:\Share\FirmB\AA
C:\Share\FirmB\CC
..

And the similar groups

GRP_FirmA_AA
GRP_FirmB_AA
GRP_FirmB_CC
..

I have apporx 60.000 folders - How to give GRP_FirmA_AA full rights to C:\Share\FirmA\AA in PowerShell? (GRP_FirmB_AA to C:\Share\FirmB\AA and so on)

Thanks in advance

Mike
Comment
Watch Question

Top Expert 2011

Commented:
Are the groups Domain groups?
Top Expert 2011

Commented:
What is the OS?

Do permissions need to be inherited?

Author

Commented:
Yes, its domain groups...

Windows 2008 R2 x64

The folders have to inheriet from parent folder...
Top Expert 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.