The following are parameters for the -cmd CollectStatistics command
Using this command you collect statistics for a site or onedrive.
-includeOneDrive |
define this parameter if you want to scan onedrives |
-fileScan [path] |
specify this parameter if you want to scan specific onedrive files in the tenant. |
The following are parameters for the -cmd SPPreMigration command
Using this command you can create a SharePoint Pre-migration Analysis Report
-xlsFile |
specifies XLS file |
-analyzesites |
include site section |
-addtemplates |
include site templates |
-addfeatures |
include site features |
-addwebparts |
include site web parts |
-addlist |
include list section |
-addcontent |
include content section |
-addmasterpages |
include master pages section |
-addcustommasterpages |
include custom master pages section |
-detailedReporting |
include all items in the report |
-includesubsites |
include subsites |
-conditions {[condition][operator][value]} |
conditions items |
Example:
Essentials -cmd spPreMigration -srcsite "http://host/site" -srcuser DOMAIN\user -srcpass password -trgtsite http://host/site2 -trgtuser DOMAIN\user -trgtpass passwd -xlsFile "path/file.xlsx" -analyzesites -addtemplates -addfeatures -addwebparts -addlist -addcontent -includesubsites -detailedReporting -conditions "ITEMS-COUNT 1 < 100" "FILE-SIZE 1 < 1" "FILE-PATH-LENGTH 2 < 125" "FILE-SIZE 2 < 2" "FILE-EXT 2 = rar,txt,pdf" "FILE-SIZE 2 < 2" "FILE-PATH-LENGTH 2 < 125" "FILE-EXT 2 = rar,txt,pdf" -log output.xml -noSplash
The following are parameters for the -cmd fsPreMigration command
Using this command you can create a File Share Pre-migration Analysis Report
-xlsFile |
specifies XLS file |
-usecsv |
option to use CSV file with a list of folders |
-csvfile |
specifies the CSV file (required if the -usecsv option has been enabled) |
-conditions {[condition][operator][value]} |
conditions items |
Example:
Essentials -cmd fsPreMigration -srcfolder "path" -xlsFile "path/file.xlsx" -conditions "FILE-PATH-LENGTH 2 < 200" "FILENAME-LENGTH 2 < 100" "FILENAME-CONTAIN 2 = ',#,&,%,*,/, ,..,,~,:,},|,?,{,,>,<" "FILE-EXT 2 = rar,txt,pdf" "FILENAME-END-WITH 2 = _dosyalar,-filer,_failid,_ficheiros,_arquivos,_fajlovi,_fichiers,_fitxategiak,_soubory,-Dateien,_elemei,_tiedostot,_pliki,.files,_bestanden,_datoteke,_fails,_fitxers,_archivos,_bylos,_file,_files" "FILE-SIZE 2 < 1" -log output.xml -noSplash
The following are parameters for the -cmd given command
Using this command you can create a "Permissions give to User/Group" Report
-userLogin |
specifies the user/group you want to use to generate the report |
-csvFile |
specifies the CSV file path where you want to save the report |
-srcfolder |
specifies the source folder |
Example:
Essentials -cmd given -srcuser DOMAIN\user -srcepass passwd -userLogin DOMAIN\user -csvFile "fs path" -noSplash
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center