To export site collection mapping into comma-separated values (CSV) file for analytics or archival purposes open Public Folders and click Export.

Output CSV file will contain mapping data for discovered and migrated public folders.