Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Track SDDL changes with PowerShell and compare it

Posted on 2012-04-13
2
Medium Priority
?
607 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 84

Accepted Solution

by:
David Johnson, CD, MVP earned 1500 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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

963 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