Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Track SDDL changes with PowerShell and compare it

Posted on 2012-04-13
2
Medium Priority
?
605 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

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

I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

721 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