With this powershell command you will be to get all items from sitetree and export it into Excel.
Import-Function -Name ConvertTo-Xlsx
$pdfItems= gci -path "/sitecore" -Recurse |
Select-Object -Property Name, ID, ItemPath, TemplateName |
Sort-Object -Property Name
[byte[]]$outobject = $pdfItems | ConvertTo-Xlsx
Out-Download -Name "All_Sitecore_Items.xlsx" -InputObject $outobject