List permissions of a folder and subfolder

  • Thread starter Thread starter Haoqiang
  • Start date Start date
RE: List permissions of a folder and subfolder

Hi,

You can do it with powershell. Install powershell and then run this:
get-childitem c:\folder_name -recurse | get-acl

--
Have a nice day!

http://winmasterplan.blogspot.com


"Haoqiang" wrote:

> I am looking for a tool which can list the permission of a folder and
> subfolder.
>
 
RE: List permissions of a folder and subfolder

Thanks for your reply.
I have tried the powershell,it just list the owner of the folder .
My purpose is to list the permission of the folder, include who has the full
control permisson,who has the read permisson, etc.


"Masterplan" wrote:

> Hi,
>
> You can do it with powershell. Install powershell and then run this:
> get-childitem c:\folder_name -recurse | get-acl
>
> --
> Have a nice day!
>
> http://winmasterplan.blogspot.com
>
>
> "Haoqiang" wrote:
>
> > I am looking for a tool which can list the permission of a folder and
> > subfolder.
> >
 
RE: List permissions of a folder and subfolder

Hi,

It must list the permissions on the folder. I found a link that may help you:
http://www.microsoft.com/technet/scriptcenter/csc/tips/ps/acl.mspx

--
Have a nice day!

http://winmasterplan.blogspot.com


"Haoqiang" wrote:

> Thanks for your reply.
> I have tried the powershell,it just list the owner of the folder .
> My purpose is to list the permission of the folder, include who has the full
> control permisson,who has the read permisson, etc.
>
>
> "Masterplan" wrote:
>
> > Hi,
> >
> > You can do it with powershell. Install powershell and then run this:
> > get-childitem c:\folder_name -recurse | get-acl
> >
> > --
> > Have a nice day!
> >
> > http://winmasterplan.blogspot.com
> >
> >
> > "Haoqiang" wrote:
> >
> > > I am looking for a tool which can list the permission of a folder and
> > > subfolder.
> > >
 
RE: List permissions of a folder and subfolder


Due to the execl form, I missed the accesstostring.
Well, I have one more question.
Can I set the layer of each folder,
because I only need to know the permission of main folder and subfolder
which are cataloged by department.
I don't need to scan the last subfolder .

BTW , may I have your email address or MSN ID?
then I can contact you directly.

Thanks!


"Masterplan" wrote:

> Hi,
>
> It must list the permissions on the folder. I found a link that may help you:
> http://www.microsoft.com/technet/scriptcenter/csc/tips/ps/acl.mspx
>
> --
> Have a nice day!
>
> http://winmasterplan.blogspot.com
>
>
> "Haoqiang" wrote:
>
> > Thanks for your reply.
> > I have tried the powershell,it just list the owner of the folder .
> > My purpose is to list the permission of the folder, include who has the full
> > control permisson,who has the read permisson, etc.
> >
> >
> > "Masterplan" wrote:
> >
> > > Hi,
> > >
> > > You can do it with powershell. Install powershell and then run this:
> > > get-childitem c:\folder_name -recurse | get-acl
> > >
> > > --
> > > Have a nice day!
> > >
> > > http://winmasterplan.blogspot.com
> > >
> > >
> > > "Haoqiang" wrote:
> > >
> > > > I am looking for a tool which can list the permission of a folder and
> > > > subfolder.
> > > >
 
RE: List permissions of a folder and subfolder

Hi again,

You just have to eliminate the -recurse parameter.
The mail is the one from the blog title.

--
Have a nice day!

http://winmasterplan.blogspot.com


"Haoqiang" wrote:

>
> Due to the execl form, I missed the accesstostring.
> Well, I have one more question.
> Can I set the layer of each folder,
> because I only need to know the permission of main folder and subfolder
> which are cataloged by department.
> I don't need to scan the last subfolder .
>
> BTW , may I have your email address or MSN ID?
> then I can contact you directly.
>
> Thanks!
>
>
> "Masterplan" wrote:
>
> > Hi,
> >
> > It must list the permissions on the folder. I found a link that may help you:
> > http://www.microsoft.com/technet/scriptcenter/csc/tips/ps/acl.mspx
> >
> > --
> > Have a nice day!
> >
> > http://winmasterplan.blogspot.com
> >
> >
> > "Haoqiang" wrote:
> >
> > > Thanks for your reply.
> > > I have tried the powershell,it just list the owner of the folder .
> > > My purpose is to list the permission of the folder, include who has the full
> > > control permisson,who has the read permisson, etc.
> > >
> > >
> > > "Masterplan" wrote:
> > >
> > > > Hi,
> > > >
> > > > You can do it with powershell. Install powershell and then run this:
> > > > get-childitem c:\folder_name -recurse | get-acl
> > > >
> > > > --
> > > > Have a nice day!
> > > >
> > > > http://winmasterplan.blogspot.com
> > > >
> > > >
> > > > "Haoqiang" wrote:
> > > >
> > > > > I am looking for a tool which can list the permission of a folder and
> > > > > subfolder.
> > > > >
 
Re: List permissions of a folder and subfolder


"Haoqiang" <Haoqiang@discussions.microsoft.com> wrote in message
news:CEF477BA-0FDA-4768-B3E5-58C1AC9CD176@microsoft.com...
>

<snip>

> BTW , may I have your email address or MSN ID?
> then I can contact you directly.
>
> Thanks!


This is a public forum. If you correspond privately with your
respondent then you deprive other interested parties of the
benefit of this thread. If they had a similar question then they
would have to start all over again.
 
RE: List permissions of a folder and subfolder

Without -recurse parameter,it scans just this folder,
while with it , it scans all the subfolders.

eg,
I have 5 layer subfolders, but I only need to scan 3 layer.


"Masterplan" wrote:

> Hi again,
>
> You just have to eliminate the -recurse parameter.
> The mail is the one from the blog title.
>
> --
> Have a nice day!
>
> http://winmasterplan.blogspot.com
>
>
> "Haoqiang" wrote:
>
> >
> > Due to the execl form, I missed the accesstostring.
> > Well, I have one more question.
> > Can I set the layer of each folder,
> > because I only need to know the permission of main folder and subfolder
> > which are cataloged by department.
> > I don't need to scan the last subfolder .
> >
> > BTW , may I have your email address or MSN ID?
> > then I can contact you directly.
> >
> > Thanks!
> >
> >
> > "Masterplan" wrote:
> >
> > > Hi,
> > >
> > > It must list the permissions on the folder. I found a link that may help you:
> > > http://www.microsoft.com/technet/scriptcenter/csc/tips/ps/acl.mspx
> > >
> > > --
> > > Have a nice day!
> > >
> > > http://winmasterplan.blogspot.com
> > >
> > >
> > > "Haoqiang" wrote:
> > >
> > > > Thanks for your reply.
> > > > I have tried the powershell,it just list the owner of the folder .
> > > > My purpose is to list the permission of the folder, include who has the full
> > > > control permisson,who has the read permisson, etc.
> > > >
> > > >
> > > > "Masterplan" wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > You can do it with powershell. Install powershell and then run this:
> > > > > get-childitem c:\folder_name -recurse | get-acl
> > > > >
> > > > > --
> > > > > Have a nice day!
> > > > >
> > > > > http://winmasterplan.blogspot.com
> > > > >
> > > > >
> > > > > "Haoqiang" wrote:
> > > > >
> > > > > > I am looking for a tool which can list the permission of a folder and
> > > > > > subfolder.
> > > > > >
 
Back
Top