GPRESULT

This is a command-line utility which can be used to display RSoP information for users and computers. It can be used either locally or remotely.

The following command will provide RSoP summary data for the currently logged-in user. This is similar to a RSOP.msc default run in logging mode:

Gpresult /r

The preceding command will list the summary data for the user and computer configurations. We also can scope it out to user configurations using:

gpresult /r /scope:user

We also can scope it out to computer configurations using:

gpresult /r /scope:computer

We also can run this by targeting a remote system:

gpresult /s REBEL-SRV01 ...

Get Mastering Active Directory now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.