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
The following are parameters for the -cmd transfer command
Using this command you can perform a "Tranfer Permissions" operation
-userLogin |
specifies the user for which you want to transfer the permissions from (source user) |
-targetUserLogin
or -csvUsersFile |
specifies the user for which you want to transfer the permissions to (target user) or specifies the CSV file and path to the file with the user mapping |
-csvFile |
specifies the CSV file and path to the file which contains the Site to run this operation against |
-includesubsites |
specifies whether you want to transfer permissions from within sites and their sub sites |
-includelists |
specifies whether you want to transfer permissions from within lists |
-includeItems |
specifies whether you want to transfer permissions from within items (may be time consuming) |
-includeSiteCollectionAdmin |
specifies whether you want to remove source site collection administrator permissions |
-removeSource |
specifies whether you want to also remove the permissions of the source user |
Example:
Essentials -cmd transfer -srcuser DOMAIN\user -srcepass passwd -userLogin DOMAIN\user -targetUserLogin DOMAIN\user -csvFile "fs path" -includeSubsites -includeLists -includeItems -removeSource -noSplash
Essentials -cmd transfer -srcuser DOMAIN\user -srcepass passwd -csvUsersFile "fs path" -csvFile "fs path" -includeSubsites -includeLists -includeItems -removeSource -noSplash
The following are parameters for the -cmd remove command
Using this command you can perform a "Remove Permissions" operation
-userLogin
or -csvUsersFile |
specifies the user/group for which you want to remove the permissions or specifies the CSV file and path to the file with the user mapping |
-csvFile |
specifies the CSV file and path to the file which contains the Site to run this operation against |
-includesubsites |
specifies whether you want to remove permissions from within sites and their sub sites |
-includelists |
specifies whether you want to remove permissions from within lists |
-includeItems |
specifies whether you want to remove permissions from within items (may be time consuming) |
-includeSiteCollectionAdmin |
specifies whether you want to remove user(s) as a Site Collection Administrator. Only applies to root site collections. |
-removeSource |
specifies whether you want to also remove the permissions of the source user (required for this -remove operation) |
Examples:
Essentials -cmd remove -srcuser user@contoso.com -srcepass encryptedPassword -userLogin user2@contoso.com -csvFile "D:\Folder\fileName.csv" -includeSiteCollectionAdmin -includeSubsites -includeLists -includeItems -removeSource -noSplash
Essentials -cmd remove -srcuser CONTOSO\user -srcepass encryptedPassword -csvUsersFile "D:\Folder\UsersfileName.csv" -csvFile "D:\Folder\SitesfileName.csv" -includeSiteCollectionAdmin -includeSubsites -includeLists -includeItems -removeSource -noSplash
© ALL RIGHTS RESERVED. 利用規約 プライバシー Cookie Preference Center