Try running the following from the PowerShell console
LGPO.exe /g c:\tools\GPO | Out-File -FilePath "c:\Tools\lgpo_output.txt"
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin