Solved

Track SDDL changes with PowerShell and compare it

Posted on 2012-04-13
2
590 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 79

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Small Business Server 2012 Essentials 5 57
who removed AD Domain ID 9 46
Reading the Web.Config using IIS 7.5? 4 36
Server 2012 R2 TLS 1.2? 2 41
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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…
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 …

809 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