Group Policy

Welcome Forums General PowerShell Q&A Group Policy

This topic contains 1 reply, has 2 voices, and was last updated by

7 months, 3 weeks ago.

  • Author
  • #122019

    Topics: 45
    Replies: 47
    Points: 213
    Rank: Participant

    I have a list of Group Policies in our Company domain where each is assigned to a specific client.   The policy assigned a folder redirection policy to point to a specific file server as to where each client's custom desktop is located (UserConfiguration -> Polices -> Windows Settings -> FolderRedirection -> Desktop -> Settings)

    I am looking at Get-GPO and Get-GPOReport, however I just want a csv file that looks like the following:

    Clients             CustomDesktop Path

    AFP                     \\cfs02\cm-afr$\Desktop

    AFB                      \\cfs03\cm-afb$\Desktop

    AFC                       \\cfs02\cm-afc$\Desktop



    Is this possible?   I don't see how to drill down into the GPO settings to pull this information with these two specific cmdlets.


  • #122073

    Topics: 8
    Replies: 889
    Points: 2,740
    Helping Hand
    Rank: Community Hero

    If you know the GUID of the group policy object, then you can do,

    [xml]$Gpo=Get-GPOReport -Guid '{00A67995-0BB4-4789-8AAA-610D8231C870}' -ReportType Xml

    Then use $GPO xml object for getting further details.

The topic ‘Group Policy’ is closed to new replies.