The following are parameters for the -cmd applyPolicyGroup command
Using this command you can use a Policy Group with a resource
-policygroup [path] |
path to the .pack file |
Example:
Essentials -cmd applyPolicyGroup -srcfolder "/Developer/Examples/Resource" -rulespack "C:/Developer/Java/runtime-mp/.metadata/governanceDataStore/packs/example.rule.pack.pack"
Essentials -cmd applyPolicyGroup -srcsite "http://host/site" -srclist "List name" -srcuser DOMAIN\user -srcpass password -rulespack "/Developer/Java/runtime-mp/.metadata/governanceDataStore/packs/copy.doc.files.pacl.pack"
The following are parameters for the -cmd CopyWorkflows command
Using this command you can copy Workflows
-usermapping [path] |
path to the CSV file with users mapping to the copy operation |
-includesubsites |
also copy the Workflows of Subsite |
-includelists |
also copy the Workflows of Lists |
-convert |
convert to Workflow 2013 Platform |
Example:
Essentials -cmd copyworkflows -srcsite http://host/site -srcuser DOMAIN\user -srcpass passwd -trgtsite http://host/site2 -trgtuser DOMAIN\user -trgtpass passwd -usermapping path/file.csv -convert
Essentials -cmd copyworkflows -srcsite http://host/site -srclist SourceList -srcuser DOMAIN\user -srcpass passwd -trgtsite http://host/site2 -trgtlist TargetList -trgtuser DOMAIN\user -trgtpass passwd
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
© ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center