# .Net  / programming question

**URL:** <https://forums.powershell.org/t/net-programming-question/4732>\
**Category:** PowerShell Help\
**Created:** [August 20, 2015, 10:02am UTC](https://forums.powershell.org/t/net-programming-question/4732 "2015-08-20T10:02:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![windows-liveuser93](https://avatars.discourse-cdn.com/v4/letter/w/ba8739/32.png) [@windows-liveuser93](https://forums.powershell.org/u/windows-liveuser93)\
**Post date:** [August 20, 2015, 10:02am UTC](https://forums.powershell.org/t/net-programming-question/4732/1 "2015-08-20T10:02:09Z")

</div>

Hi

Not a programmer but i was looking for a resource to have the ability to look up .NET / programming type formats.

I have a script in powershell that sets and looks at ACLs on folders. I have a pice that i found on the net that is new-object System.Security.AccessControl.FileSystemAccessRule (“$Usr”, “FullControl”, “ContainerInherit, ObjectInherit”, “None”, “Allow”)

My question is where can i look up and wat are the items called within the ( ). I have seen this for other .net pieces but not sure what they were called so i could look them up and know how any there were and what the values were that needed to be put in.

Thank You

John

---

<div class="post-metadata">

**Author:** ![alexander-johansson](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@alexander-johansson](https://forums.powershell.org/u/alexander-johansson)\
**Post date:** [August 20, 2015, 5:03pm UTC](https://forums.powershell.org/t/net-programming-question/4732/2 "2015-08-20T17:03:29Z")

</div>

Hello,

Here is a link to the class at msdn:  
[https://msdn.microsoft.com/en-us/library/system.security.accesscontrol.filesystemaccessrule(v=vs.110).aspx](https://msdn.microsoft.com/en-us/library/system.security.accesscontrol.filesystemaccessrule(v=vs.110).aspx)

You should also look at “cacls.exe” or “icacls.exe” if you are using win8 or higher.  
I like to use those command line utilities in scripts.

/Alexander

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:44pm UTC](https://forums.powershell.org/t/net-programming-question/4732/3 "2024-05-16T20:44:52Z")

</div>


