Introduction

If you want to see which Group Policies are applied to a client, you can run the Resultant Set of Policies (RSOP).

Exporting the results from RSOP can be accomplished via the GUI as well as via Powershell.

In this blog post, I explain how to export the results from RSOP to an HTML report using Powershell.

How to retrieve the Resultant Set of Policies (RSOP)

Gather RSOP results using the command-line

Open an elevated command-line (CMD) and enter:

rsop
rsop command

RSOP will now gather which Group Policies have been applied for your client.

Note: As mentioned in the text “Starting with Microsoft Windows Vista Service Pack 1 (SP1), the Resultant Set of Policies (RSOP) report does not show all Microsoft Group Policy settings. To see the full set of Microsoft Group Policy settings applied for a computer or user, use the command-line tool gpresult.

This means that it is fine to use RSOP, but if you want to be sure that all Groupm Policies are included, use gpresult instead.

Gather RSOP results using Powershell

If you prefer to use Powershell, open an elevated Powershell window, and use the Get-GPResultantSetOfPolicy cmdlet.

Export RSOP results in HTML using Powershell

In this example, I retrieve the Resultant Set of Policies (RSOP) for user Daniel in the Contoso domain, who uses the computer Windows10-Client. The output is in HTML, and the filename is D:\rsop.html.

Get-GPResultantSetOfPolicy -user Contoso\Daniel -Computer Windows10-Client -ReportType Html -Path "D:\rsop.html" 

Conclusion

Using Powershell to export the results from RSOP is a much faster way than using the GUI. How do you export these results? Please leave a comment below!

References

Related posts

LEAVE A REPLY

Please enter your comment!
Please enter your name here