Hi,
The input for the powershell script is the shared folder path C:\Temp\Payroll and I could able to populate the groups of the directory as below with access rights.
EE\Domain Admins(Full Control),EE\AKOZLOWS(RW) ,EE\CFO_FinSy_GrpPayRoll_RW(RW)
But I am struggling to get list the usernames mapped under those groups.
My Expected output:
EE\Domain Admins Full Control
EE\AKOZLOWS RW
Kozlowski, Anna RW
EE\CFO_FinSy_GrpPayRoll_RW RW
Celecia, Julie RW
CFO_FinSy_GrpPayRoll_A RW
langelo, Jessica RW
Ngen, Thpos RW
riker, Gardy RW
eewitt, Noedl RW
eeuyen, Hannfah RW
Kozlowski, Ang RW
I have only used Get-Acl cmdlet in my script for getting the above mentioned group names.
Can anyone can help on populating usernames like my expected output.
Thanks in Advance