Author Posts

May 28, 2014 at 10:44 am

Is anyone aware of an existing DSC resource (experimental or community) that can be used to set permissions on a folder?

For example, something equivalent to running the following, but as a DSC resource:

"icacls c:\inetpub\wwwroot\APP_DATA /T /C /grant IIS_IUSRS:(F)"

Thanks...

May 28, 2014 at 10:45 am

Sorry about the spelling error – Permissions. Is there a way to correct topic names?

May 28, 2014 at 10:47 am

Not for regular users – but be careful about replying to your own post, because it takes you off the "topics with no replies" a lot of us use to find topics needing help.

And no, I'm not aware of an ACL resource. You're welcome to donate one ;). Get-ACL and Set-ACL can do that, but they're pretty involved.