1. Open Powershell
2. Run the below commands in order:
Import-Module -Name "<PATH TO GPOADmin>\GPOADmin.psd1"
Start-Transcript
Get-Diagnostics -Credentials <DOMAIN>\<SERVICE ACCOUNT> -ConfigurationExport -FileName "<PATH>\<FILENAME>.ldf"
Stop-Transcript
3. The stop-transcript command will output the data to a text file and will provide you with the location.
4. The output will be the transcript and the .ldf file