Script (s) to help with file security audit
- From: Nancy R <NancyR@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Apr 2009 12:17:01 -0700
Hi folks,
I think this is the right newsgroup, if not I apologize upfront.
I need to do a few things as part of our file security audit (we will be
doing this regularly going forward so I am hoping to automate at least part
of it).
This is what I need to do:
1 - Get a list of all files and folders in a specific location (I can access
remotely or locally so whichever is the easiest way). Ideally I would like
to return the path and file name as separate items rather than one long
string.
2 - Get a list of all local and domain users and groups which have access to
each file and folder along with the level of access each has.
3 - Flag any objects where the permissions are different from it's parent
object.
4 - Get a list of all domain users along with their AD location.
5 - Get a list of all domain groups including group membership and AD
location.
I would also like to be able to have the information returned in some kind
of delimited format so we can work with the data in Excel.
I realize that they can't all be combined but I am hoping it will be
possible to do the first three items together then do the last two together.
I have looked around and found what appears to be a million different ways
to do this and I am not sure where to start.
I do have some limited experience with scripting and have already scripted
some of our more time consuming tasks but I feel like I'm going cross-eyed
when I look at the examples that are available.
Can some provide some tips on where I can start looking for information or
perhaps even some script examples?
Thanks,
Nancy
.
- Prev by Date: Re: How to find the operating system bit (x86/x64/ia64)
- Next by Date: How to Replace vbcrlf outside html tags in memo field of access database
- Previous by thread: Re: Query folder backup operator
- Next by thread: How to Replace vbcrlf outside html tags in memo field of access database
- Index(es):
Relevant Pages
|