this should get you started:
Code:
select object_name(p.object_id) as "Table",
p.index_id,
f.name,
sum(total_pages)/128 as "Size in MB",
convert(varchar(10), getdate(), 101),
count(*) as partitions
from sys.partitions p join
sys.allocation_units a on p.partition_id = a.container_id join
sys.filegroups f on a.data_space_id = f.data_space_id
group by p.object_id, p.index_id, f.name
order by sum(total_pages)/128 desc