Solved

Track SDDL changes with PowerShell and compare it

Posted on 2012-04-13
2
586 Views
Last Modified: 2012-08-21
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?
0
Comment
Question by:jayrbarrios
2 Comments
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 37845165
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
 
LVL 1

Author Comment

by:jayrbarrios
ID: 37848786
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

Featured Post

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now