The following are parameters for the -cmd Credentials command
-srcuser [user] |
source site user name |
-srcpass [password] |
source site password |
-srcepass [password] |
source site encrypted password |
-srcdomain [domain] |
source site domain |
-srchost [host] |
source site host |
-srcport [port] |
source site port |
-srcuseproxy |
use proxy to source site |
-trgtuser [name] |
target site user name |
-trgtpass [password] |
target site password |
-trgtepass [password] |
target site encrypted password |
-trgtdomain [domain] |
target site domain |
-trgthost [host] |
target site host |
-trgtport [port] |
target site port |
-trguseproxy |
use proxy to target site |
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_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:
Essentials -cmd connecttosite -srcsite http://host/site -srcuser user@mv.com -srcepass password -projectName "mySite" -projectType SP_SITE -kindOfDownload FirstLevelSubsites
The following are parameters for the -cmd CopyList command
-donotcopycontenttypes |
do not copy list content types |
-copylistcontent |
copy list content |
-copylisthistory |
copy list history |
-overwritebehaviour |
overwrite the lists behavior on the target |
-copylistpermissions |
copy list permissions |
-includeHiddenFields |
copy hidden fields |
-includeDocumentID |
copy document ID property |
-deferredgroupmembership |
update membership of the groups during permissions migration |
-copylistviews |
copy list views |
-copylisttemplates |
copy list templates |
-usermapping [path] |
path to the CSV file with user mapping to the copy operation |
-webpartsfile [path] |
path to the CSV file with webparts to be removed from the page |
-templatemapping [path] |
path to the CSV file with templates mapping |
-copyworkflows |
copy workflows |
-infopath |
copy InfoPath forms |
-mapping [template.mvmap] |
mapping template file |
Example:
Essentials -cmd copylist -srcsite http://host/site -srclist DocLib -srcuser DOMAIN\user -srcpass passwd -trgtsite http://host/site2 -trgtlist DocLib2 -trgtuser DOMAIN\user -trgtpass passwd -copylistcontent -copylisthistory -copylistviews -copylisttemplates -usermapping path/file.csv -templatemapping path/file.csv -log output.log
The following are parameters for the -cmd CopySite command
-asnewsite |
copy site as new site |
-asnewsitecollection [url] |
copy site as new site collection |
-copysubsites |
copy site with subsites |
-copypermissions |
copy site permissions |
-copygroups |
copy site groups |
-copywebparts |
copy site webparts |
-copycollectionfeatures |
copy site collection features |
-copyfeatures |
copy site features |
-copycontenttypes |
copy all content types |
-copylists |
copy all lists |
-copylistcontent |
copy list content |
-copylisthistory |
copy list history |
-overwritebehavior |
overwrite sites behavior on the target |
-copylistpermissions |
copy list permissions |
-copylistviews |
copy list views |
-copylisttemplates |
copy list templates |
-rootname [name] |
new name for the target site |
-copythreads [number] |
number of parallel threads for copy |
-usermapping [path] |
path to the CSV file with user mapping to the copy operation |
-templatemapping [path] |
path to the CSV file with templates mapping |
-centraladminurl [url] |
URL of Central Administration |
-farmadmin [user] |
farm admin user name |
-farmadminpassword [password] |
farm admin password |
-farmadminepassword [password] |
farm admin encrypted password |
-copylayoutsgallery |
copy page layouts gallery |
-copymastergallery |
copy master page gallery |
-copylookfeel[all]|[page[,page]] |
copy look&feel options:
all copy - all following pages title - copy title, description, icon navigation - copy navigation treeview - copy tree view sitetheme - copy site theme linkbar - copy top link bar launch - copy quick launch layouts - copy layouts and site templates master - copy master settings welcome - copy welcome page |
-copyspd |
copy Sharepoint designer objects |
-copywebparts |
copy site home page |
-copysiteworkflows |
copy site workflows |
-copyworkflows |
copy workflows |
-infopath |
copy InfoPath forms |
Example:
Essentials -cmd copysite -srcsite http://host/site -trgtsite http://host/site2 -rootname newsite -asnewsite -copysubsites -copypermissions -copywebparts -copycollectionfeatures -copyfeatures -copycontenttypes -copylists -copylistcontent -copylisthistory -copylistpermissions -copylistviews -copylisttemplates -usermapping path/file.csv -templatemapping path/file.csv -log output.log
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center