How to view the group policy information for the computer?
gpresult /Scope Computer /v
How to view the group policy information for the currently logged-in user?
gpresult /Scope User /v
What does the /v switch do?
provides verbose output, showing detailed information about each policy
How to check when was the last time GPO was applied to a user?
C:\Windows\system32>gpresult /Scope User /v
Last time Group Policy was applied: 11/29/2023 at 3:10:11 PM
Group Policy was applied from: prhq-rp-dc.ridpharm.com
Group Policy slow link threshold: 500 kbps
Domain Name: ridpharm
Domain Type: WindowsNT 4
How to export the results of the gpresult command to an HTML file?
gpresult /h report.html