Another one line of code that I use very often

Get-GPResultantSetOfPolicy Computer $ComputerName User $GPUser ReportType html path $Filepath

Where $Computername = Name of Computer putty download , $GPUser = Name of User, $Filepath = Path where Report gets saved, e.g. c:\temp\report.htm

It is way faster than using the wizard in gpmc.msc and adding a report