Track SDDL changes with PowerShell and compare it

I want to track permission change made in our file shares and compare it and finally export it to csv for report. is there a way to achieve this using powershell script?
LVL 1
jayrbarriosAsked:
Who is Participating?
 
David Johnson, CD, MVPConnect With a Mentor OwnerCommented:
Get-Content “C:\logs\computers.txt” | Get-AllSharePermissions | Export-Csv “C:\logs\shares.csv” -NoTypeInformation -force
over a period of time then you can do a compare of the 2 files and check for differences
Get-AllSharePermissions.txt
0
 
jayrbarriosAuthor Commented:
Thanks for the answer, it runs with

Get-Content “C:\logs\computers.txt” | ./Get-AllSharePermissions | Export-Csv “C:\logs\shares.csv” -NoTypeInformation -force

but i'm not getting any reports in the CSV file...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.