Chat now with support
Chat with Support

Metalogix Essentials for Office 365 2.3 - Advanced Installation Guide

ConnectToSite Parameters

The following are parameters for the -cmd ConnectToSite command

-projectName [project]

specifies a name for this new project.

-projectType

specifies the type of project. Options include:
SP_SITE - SharePoint Site

SP_FARM - SharePoint Farm

OFFICE_365_TENANT - Office 365 Tenant

ONE_DRIVE - OneDrive for Business

OFFICE_365_SITES - Office 365 Sites

-kindOfDownload

specifies what options to include with the initial project connection.  Options include:                                                          FirstLevelSubSites - list of sub-sites only AllSubSitesWithoutObjects - all sub-sites but no lists (slower)AllSubSitesAndObjects - all sub-sites and their lists (slowest)

SubsitesHierarchy - list of sub-site heirarchy

NoObjectsNoSubsites - list of sites, no subsites or lists

RefreshSite - refresh the site

-webAppMapping

alternative mapping URL(with port) for farm web application, or "office365" for Office 365 Tenant or "onedrive" for OneDrive for Business project.

Example:

metavis -cmd connecttosite -srcsite http://host/site -srcuser user@mv.com -srcepass password -projectName "mySite" -projectType SP_SITE -kindOfDownload FirstLevelSubsites

Related Documents