Powershell script

Anonymous
2024-10-14T13:58:10+00:00

Need a gpo script to find the value of multiple policy settings

For example

Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment

Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment

Need to get the value of both policy in a single PS script

Windows Server Remote and virtual desktops PowerShell

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-10-16T02:46:47+00:00

    Hi,

    The GPO files are in the Policies folder in the Sysvol. You can use Get-Content to get the User Rights Assignment settings from the

    {GPO GUID}\Machine\Microsoft\Windows NT\SecEdit\ GptTmpl.inf.

    0 comments No comments