The following are parameters for the -cmd OneDrivetoOneDrive command
Using this command you can copy the Documents Library content from one OneDrive for Business site to another OneDrive for Business site.
-srcsite |
specifies source SharePoint Administration Center URL |
-srcuser |
specifies source SharePoint Administration Center username |
-srcepass |
specifies source SharePoint Administration Center encrypted password |
-trgtsite |
specifies target SharePoint Administration Center URL |
-trgtuser |
specifies target SharePoint Administration Center username |
-trgtepass |
specifies target Sharepoint Administration Center encrypted password |
-usermapping [path] |
Path to the CSV file with users mapping to the copy operation. |
Example:
Essentials -cmd oneDriveToOneDrive -srcsite http://host/site1 -srcuser user1@company1.com -srcpass passwd -trgtsite http://host/site2 -trgtuser user2@company2.com -trgtpass passwd -usermapping path/file.csv -log output.xml -noSplash
The following are parameters for the -cmd CopyContentToFileSyste command
Using this command you can download content from SharePoint to a local file share.
-srcuser [name] |
source site user name |
-srcepass [password] |
source site user's encrypted password |
-srcsite "[site URL]" |
specifies the site URL from which the content will be downloaded from |
-includeHiddenFields |
copy hidden fields |
-includesubsites |
include this parameter if you are downloading from a parent site and wish to include its subsites (does not apply if a single list/library download is being performed). |
-numCopiedVersion "[value]" |
number of versions to download. use "0" for no versions and "-1" for all versions. |
-move |
include this parameter if you wish to delete the content from SharePoint. Do not include this parameter if you do not want the content to be deleted. |
-charset |
defines which Windows character set to use (default is windows-1251). |
-trgtfolder "[folder path]" |
defines the location where the downloaded content will be saved. |
Examples:
Essentials -cmd copyContentToFileSystem -srcuser "admin@contoso.com" -srcepass "encryptedPassword" -srcsite "https://contoso.sharepoint.com/sites/marketing/material" -charset "windows-1251" -includesubsites -numCopiedVersion "3" -move -trgtfolder "C:\SharePoint Export" -log 'C:\marketing-material-export.xml' -noSplash
Essentials -cmd copyContentToFileSystem -srcuser "admin@contoso.com" -srcepass "encryptedPassword" -srcsite "https://contoso.sharepoint.com/sites/marketing/material" -srclist "Documents " -charset "windows-1251" -numCopiedVersion "-1" -trgtfolder "C:\SharePoint Export" -filter \"Modified>2015-01-01 08:00:00\" -log 'C:\marketing-material-export.xml' -noSplash
The following are parameters for the -cmd FileSharesToOneDrive command
Using this command you can mass migrate file shares to user's OneDrive for Business "Documents" library.
-trgtsite |
The URL to your tenant's SharePoint Admin Center |
-trgtuser [name] |
Global Admin username |
-trgtepass [password] |
Global Admin user's encrypted password |
-usermapping [path\name.csv] |
Location and name of the file share location of the user name mapping file |
Examples:
Essentials -cmd fileSharesToOneDrive -trgtsite http://host/site -trgtuser user@company.com -trgtpass passwd -usermapping path/file.csv -log output.xml -noSplash
Essentials -cmd fileSharesToOneDrive -trgtsite http://host/site -trgtuser user@company.com -trgtpass passwd -usermapping path/file.csv -log output.xml -noSplash
The following are parameters for the -cmd ImportAlerts command
Using this command you can import user alerts from a CSV file to a destination location
-srcuser |
specifies the user account that will be used to authenticate against each site in the CSV file. This user account must be at least a full owner. |
-srcpass |
specifies the password of the user account that will be used to authenticate against each site. |
-trgtsite |
specifies the target SharePoint Administration Center URL |
-usermapping [path] |
specifies the path of the CSV file which contains the user mapping. |
-includesubsites |
specifies whether you want to import alerts to sub-sites. |
-csvFile |
specifies the csv file where the alerts are listed. |
Examples:
Essentials -cmd importAlerts -srcuser CONTOSO\user -srcepass encryptedPassword -includesubsites -trgtsite http://sharepoint/sites/sales -csvFile "D:\Folder\ImportAlertsFile.csv"
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center