Get-acl repeating groups - Powershell -
I try to get a list of groups specified in a folder by using the PowerShell command on the remote server I am:
get-acl '\\ testster \ test' | | % {$ _. Admission} | Foot IdentityReference -HideTableHeaders
What happens there is a group that is repeated 3 times I checked the NTFS permissions and this group was allocated only once. Is there any help on this output below? : (
TestDiamin \ Test Group TestDiamond \ Test Group TestDomin \ Test Group Bultin \ Administrator
Just to add, I upgraded to the folder and this group Security check is assigned once. If I take the feet off the order, then all the attributes look identical to repeated groups!
I have a test folder where I have allowed a user and In the windows, if I look at the Security tab of the folder, then I list the user once. However, when I use Get-Acl
on that particular I see the permission breaks. Yes, the user is listed several times, but FileSystemRights
and AccessControlType
are different.You only get get-acl <\\ testerver \ Test '|% {$ _.}}
without format-table
and you give It said that I'm talking about.
described above has some trimmed output sample from your own folder.
get-ACL 'C: \ Temporary \ New Folder' | Selection-Object-Expedit-Express-Access-filesSystems: ReadExtended Attributes, ReadAttributes AccessControlType: Deny Identity: BA \ sslvpn Inserted: False Inheritance: Container Inherit, ObjectAmerirate Promotional Flags: None .......... Filesystem Rights: ReadData, Execute File Synchronize AccessControlType: Allow Identity: Reference: BA \ sslvpn Inserted: False Inheritance Falgues: Container Inher Tit, Object Inherit Propaglag: None
As you can see that a user is listed twice, it is also illustrated in the specifications in the Windows Explorer file / folder under Security> Advanced.
If you are just searching for the name and do not take care about the permissions, then you should only -Unique
get-acl ' C: \ temp \ new folder '| Selection-object-ExpandPhartAccess Access. Choose Identity Reference - Anik | Ft -HideTableHeaders
Comments
Post a Comment