We are migrating a farm from 2007 to 2013 and for records we need to list features for all the site collections and their subsites under a web application with their status (Activated\Deactivated). We need something as following table.
It has powershell 1.0 and STSADM. It does not have SharePoint snappin.
It would be really helpful if I could get a fully built script for the same.