Get GPO Details

All GPOs for the Domain

Run this from one of the DCs

Get-GPOReport -All -Domain (Get-ADDomain).DNSRoot -Server (Get-ADDomain).PDCEmulator -ReportType HTML -Path "C:\Temp\GPOReportsAll.html"

Details for the User

For the Logged-in user

Run as-is in PowerShell and it will output a file named after the user

gpresult  /H "C:\Temp\$env:UserName.html" /SCOPE USER

For a Different User

Update “domain\username” to match the user you want the report for

gpresult  /H "C:\Temp\gpresult.html" /SCOPE USER /USER "domain\username"

Details for the Computer

gpresult  /H "C:\Temp\$env:UserName.html" /SCOPE COMPUTER