Powershell Script for give full permissions to Shared folder for 50+ users at a

Tagged: 

This topic contains 2 replies, has 3 voices, and was last updated by Profile photo of Bob McCoy Bob McCoy 6 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36864
    Profile photo of Er Reddy
    Er Reddy
    Participant

    Hi Team,

    I have tried to create script for as subject, but i didn't success on that.

    could you please help me on this. How to automate below process with Powershell.

    OS: Windows server 2012 R2

    1. Open 'Compmgmt.msc' in RUN
    2. Go to 'Shared Folder-> Shares ->err' properties
    3. Go to tab 'Share Permissions' and click on 'ADD' button.
    FYI: Computer is in domain for example xyz.com
    4. Now I am trying to full rights to 'ramesherr' user as below
    Check name – > click 'OK' -> give full rights -> click on 'Apply' and click 'OK'
    5. Next go to tab 'Security' and click on 'Edit' button.
    6. Click on add button, trying to full rights to 'ramesherr' user as below.
    Check name – > click 'OK' -> give full rights -> click on 'Apply' and click 'OK'
    7. Cick ok and ok .

    For Screenshots please refer below link in word format.
    https://onedrive.live.com/redir?resid=FD6FD465686BFA32!3890&authkey=!AKq282uclLbO6gY&ithint=file%2cdocx

    Thanks in advance
    Reedy

    #36865
    Profile photo of Dave Wyatt
    Dave Wyatt
    Moderator

    I'd like to introduce you to the concept of a Group. 😉 The usual practice is to grant permission to resources using groups, and just add users to the appropriate groups. If you go around granting access to individual users, it makes it a giant headache to figure out who has access to what (auditing), or to add a new user who has the same permissions as an existing account.

    #36866
    Profile photo of Bob McCoy
    Bob McCoy
    Participant

    Agree strongly with Dave. You're creating an administrative nightmare when you try to maintain per-user permissions.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.