Editing GPO with Powershell

Welcome Forums General PowerShell Q&A Editing GPO with Powershell

This topic contains 2 replies, has 3 voices, and was last updated by

 
Participant
2 years ago.

  • Author
    Posts
  • #63622

    Participant
    Points: 0
    Rank: Member

    Hi, is-it possible to edit a GPO with Powershell, what I'm looking for is to update a the Security Parameter – File System.
    For example add authenticated user , folder and subfolder in write execute on the directory D:\EXPL
    Thanks

  • #63631

    Moderator
    Points: 24
    Team Member
    Rank: Member

    The area you'd like to edit is not directly exposed via the Group Policy cmdlets (https://technet.microsoft.com/en-us/library/ee461027.aspx) as far as I know.

    As alternative you could backup the GPO with the Backup-GPO cmdlet, modify the .inf file for the file system permissions and import the modified backup again via Import-GPO again.

    However, you need to ask yourself if a group policy modification really needs to be automated.

  • #63633

    Participant
    Points: 0
    Rank: Member

    Only way I know to read/write GPO settings is to use SDM software

    Group Policy Automation Engine

The topic ‘Editing GPO with Powershell’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort