Read collection details using PowerShell

it is possible to get details from the Collection configuration using PowerShell?

as example I would like to report on all collection the retention policy for DC and Console Backups 

thank you for your help