Export-SPAllSitesForMigration

Export-SPAllSitesForMigration

The code in this module will gather all site collections in your farm and write the details to a CSV file. The CSV file will be formatted to support a migration effort.

This function returns an array of custom PS objects. Each object contains the following
properties:

String Migrate
String SourceSiteName
String SourceSiteUrl
String SourceDatabaseName
String SourceWebApplicationName
String SourceSiteTemplate
String DestinationWebApplicationUrl
String DestinationSiteUrl
String DestinationSiteTemplate

Example
Export-SPAllSitesForMigration -CsvFilename "c:\spreports\allsites.csv" -OutGrid

Bob Mixon

My primary goal in life is to support my family, be a friend and enjoy each day as it may be my last. For work, I am a Senior SharePoint Solution Architect, Senior Information Architect and Microsoft SharePoint MVP. You can read my entire profile here.

More Posts - Website

Follow Me:
LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.