Getting security permiisions and the groups

I have a script for extracting al ist of uses,and groups from a shared folder
$project_folder = "\\foldername\servername"
Get-Acl $project_folder | 
    ForEach-Object { 
        $_.Access | Add-Member -MemberType NoteProperty -Name Path -Value $_.Path -PassThru  
    } | 
    ft -GroupBy Path -Property IdentityReference, AccessControlType, FileSystemRights > foldertst.csv
It lists all the users and groups under security tab, but the problem is that it does not show the full  sg name.
Eg. if sg name is aa_bb_c#def_fgt_gr_rw. it'll only show aa_bb_c#def_f....
how do i get the full group name.
Also is it possible to get a list of members who are a part of the security group?
Eg. if i run the code it tells me that aa_bb_c#def_fgt_gr_rw has RW access under security.
Is it possible to incorporate a code that will not only give me the lists of all the groups and users having access to \\servername\foldername but also the users who are a part of aa_bb_c#def_fgt_gr_rw and all the groups listed in the folder?

I do not need a list of members from the nested group. 
Eg. if the group aa_bb_c#def_fgt_gr_rw has a nested group bb_bb_c#def_fgt_gr_rw.
i do not need the list of members from bb_bb_c#def_fgt_gr_rw
group only aa_bb_c#def_fgt_gr_rw group

Similar Messages

  • Continuation from Getting security permiisions and the groups

    tried this code
    $project_folder = "foldername\servername","foldername\servername1"
    Get-Acl $project_folder | 
        ForEach-Object { 
            $_.Access | Add-Member -MemberType NoteProperty -Name Path -Value
    $_.Path -PassThru  
        } | 
        fl -GroupBy Path -Property IdentityReference, AccessControlType, FileSystemRights
    > foldertst.csv
    It gave me the output in this format 
    IdentityReference : test\abc
    AccessControlType : Allow
    FileSystemRights  : Modify, Synchronize
    Identity reference   Accesscontrol type Filesystemrights
    I need it in colum format 
    With the complete group name because if i use the FT command it lists the groups but edits
    out the name
    Eg. if sg name is aa_bb_c#def_fgt_gr_rw. it'll only show aa_bb_c#def_f....
    Please advise

    It works , U ar the best.
    Is it possible to incorporate a code listed below to list all the users who are a members of a group?
    EG. If aa_bb_c#def_fgt_gr_rw is a part of foldername\servername. is it
    possible to extract all the members of this group? This should be for all the groups in foldername\servername and "foldername\servername1"
    list of members from nested groups are not needed.
    $project_folder = "foldername\servername","foldername\servername1"
    $Results = @()
    Foreach ($Path in $project_folder) {
    $ACL = Get-ACL $Path
    ForEach ($Access in $ACL.Access) {
    $Results += New-Object PSObject -Property @{Path=$Path;Group=$Access.IdentityReference;AccessControlType=$Access.AccessControlType;FileSystemRights=$Access.FileSystemRights}
    $Results | select Path,Group,AccessControlType,FileSystemRights | Export-CSV .\foldertst.csv -NoType

  • HT5312 I forgot the answers to my security questions and the e-mail where apple is sending the answers is no longer accessible, how can I get the answers to be sent to one of my current mails? Thank you

    I forgot the answers to my security questions and the e-mail where the replies are being answered is no longer valid or active, how can I get the answers to be sent to my current active e-mail? Thank you

    You need to contact Apple, either through the link in that article or by phoning them and asking for the Account Security team.
    (80384)

  • How do I find my password if I can't remember the answers to the security questions and the email it is sending the password to no longer exists?

    How do I find my password if I can't remember the answers to the security questions and the email address it is sending the password to no longer exists?

    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Security' and fill in that you'd like your security questions/answers reset.
    You should get an email reply within, I think, about 24 to 48 hours (and check your Spam folder as well as your Inbox)

  • HT201363 i cannot remember the answer to my security question and the rescue email is no longer in use or accessible.  what do i do now

    i have a lot of music that i bought while living in aonther country and on another computer.  hen i try and play any of it i get a message asking for my old apple id id.  it does not accept any of my attempts.  i do not know the answer to the security question and the rescue email is no longer in use or accessible.  how do i 'activate' my music on my new computer?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I've forget my security questions and the resource e mail what can Ido now?

    I've forget my security questions and the resource e mail what can Ido now?

    If you can't remember your rescue email address (you won't be able to view the full address until you can answer your questions) then you will need to contact iTunes Support / Apple in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down this page to view and/or change your rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • I can't buy anything on this iPhone cause I forgot both of my security codes and the email address they sent it too I mistyped or something plz help

    I can't buy anything on this iPhone cause I forgot both of my security codes and the email address they sent it too I mistyped or something plz help

    Alternate emaiI addresses are not used for resetting security questions, only your rescue email address is. If you don't have access to your rescue email account (you won't be able to change the address until you can answer your questions) then you will have to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps on this page to update your rescue email address for potential future use : http://support.apple.com/kb/HT5620

  • I forgot my security question and the answer . please can you provided

    i forgot my security question and the answer . please can you provided

    The Three Best Alternatives for Security Questions and Rescue Mail
        1. Use Apple's Express Lane.
              Go to https://expresslane.apple.com ; click 'See all products and services' at the
              bottom of the page. In the next page click 'More Products and Services, then
              'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Forgotten Apple
              ID security questions' and click 'Continue'. Please be patient waiting for the return
              phone call. It will come in time depending on how heavily the servers are being hit.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Hello Apple? How do i fixed my problem with my ipad apps every time i open that apps it takes 10min. to play the games ant its getting LOST MODE and the ipad system is crashing

    How do i fixed my problem with my ipad apps every time i open that apps it takes 10min. to play the games ant its getting LOST MODE and the ipad system is crashing

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    Have you tried closing all apps via the iPad's multitasking bar and then doing a soft-reset and seeing that helps ? To close all apps :
    iOS 7: double-click the home button to open the taskbar, and then swipe or drag each app's screen from there up and off the top of the screen to close it, and click the home button to close the taskbar.
    iOS 6 and below : from the home screen (i.e. not with any app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of each app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    Soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I ended up having two id's, one being my original when first getting into itunes and the other came when I opened a me account.  I have purchases under the original id.  How do I merge the old account into the new account

    I ended up having two id's, one being my original when first getting into itunes and the other came when I opened a me account.  I have purchases under the original id.  How do I merge the old account into the new account

    Sorry, but it is not possible to merge two Apple IDs/iTunes Store accounts.
    Regards.

  • HT201304 I am trying to use an iTunes card and I keep getting an error and the numbers 5301. Any idea what can be wrong?

    I am trying to use an iTunes card and I keep getting an error and the numbers 5301. Any idea what can be wrong?

    AIrPlay to Apple TV before you attempt Mirroring
    AirPlay Mirroring
    http://support.apple.com/kb/HT5209
    Trouble shooting AirPlay
    http://support.apple.com/kb/TS4215

  • HT201363 I forgot the answers to my security questions and the email it sent the answers to is no longer active. How can I find out my answers or change my questions.

    I forgot my security questions and the email it got sent to is not active anymore. Help please

    See Here... ask to speak with the Account Security Team...
    Apple ID: Contacting Apple for help with Apple ID account security
    Or Here  >  Apple  Support  iTunes Store  Contact

  • I have forgotten my security questions and the email linked to these is no longer working.  How can I change my security questions?

    I have forgotten my security questions and the email linked to these is no longer working.  Is there another way I can change my security questions?

    Click here and request assistance.
    (75745)

  • Hello everybody,i've forgot my apple password and i wanted to reset it to a new one but i also forgot the security question and the alternative email does not work and i am really need to log in to my apple i d because my iPhone 4g won't  let me access it

    Hello everybody,i've forgot my apple password and i wanted to reset it to a new one but i also forgot the security question and the alternative email does not work and i am really need to log in to my apple i d because my iPhone 4g won't  let me access it so anyone can help me with it or can i put another apple id to it without putting the first password?THANKS FOR YOUR HELP.

    Then call AppleCare and talk to someone in account security.

  • I ordered Illustrator for another user.  I received an invitation that was accepted, logged in and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person?

    I ordered Illustrator via creative cloud for another user.  I received an invitation that was accepted  and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person? 

    Cloud as a Gift https://forums.adobe.com/thread/1665610

Maybe you are looking for

  • How to add a new Spread file to the existing one IDML?

    I'd to know how add new spread in IDML file exists. In the file designmap.xml, I put and changed somethings: 1) I put some tags; the tags are:   <idPkg:Story src="Stories/Story_u1fc.xml"/>   <idPkg:Spread src="Spreads/Spread_d467.xml"/> 2) I also add

  • Installation of SAP EP 6.0 SP 3

    After installation Web AS6.40 Sneak Preview Package on Win 2k Server with MSSQL Server 2000 SP3 would i install the SAP EP 6.0 SP3. Installation finished with no error. But, if i start the process "server0" (j2ee server) isn't running. i traced this

  • Apple, please add *links* (in email) to cancel notifications

    When I receive email from other forums, there's a link at the bottom of the email to cancel notifications (on that thread). But when I receive email from an Apple discussion, there's no such link. So, cancellation is a 5-step process: 1. Click link t

  • Old iBook with airport card

    Hi, I have a little problem and am an absolute novice in this field. I have a network set up at home with a Netgear router and 3 x G3/300 happily connected via wire. My son got himself an old iBook (in very good knick...) and the thing is equipped wi

  • ATV2 upsamples 44.1K CD to 48K

    From ATV2 optical audio output my DAC lights up 48K when I'm streaming my ripped CDs (lossless) which are all 44.1K. The Airport Express previously in the exact position streamed at 44.1K. with the corresponding light lit. I wrote one of the designer