Need PS Script for migrating SharePoint 2010 Data to a File Server

Hi, I am looking for a Power Shell script that I can run on my Server and it should migrate the data from SharePoint 2010 to a File Server on my network drive. I have 2 site collections and want to migrate all the data.

it will be great if folder structure, category, document version history is also copied. I have tasks list, calendars, surveys, dicussions, forums also to migrate. Thank you, 

Parents
No Data
Reply Children
No Data