Dynamically override the FileManagement Step properties at runtime.

Variable name Values
Override-IncludeSubFolders
  • Yes/True/1
  • No/False/0
Override-SetReadOnly
  • Yes/True/1
  • No/False/0
Override-CopyMove
  • Copy
  • Move
Override-DeleteEmpty
  • Yes/True/1
  • No/False/0
Override-FileAction
  • AddNewOverwriteExisting
  • AddNewOverwriteExistingByNewer
  • AddNewOverwriteExistingIfDifferent
  • AddNewOverwriteExistingIfIdentical
  • AddNewAllCheckedinAreOverwritten
  • AddNewAllCheckedinAreOverwrittenByNewer
  • AddNewOnly
  • NoNewOverwriteExisting
  • NoNewOverwriteExistingByNewer
  • NoNewOverwriteExistingIfDifferent
  • NoNewOverwriteExistingIfIdentical
  • NoNewAllCheckedinAreOverwritten
  • NoNewAllCheckedinAreOverwrittenByNewer
  • NoFilesOnlyUpdateMetadata
  • NoFilesOnlyUpdateMetadataIfIdentical
  • DeleteExisting
  • DeleteExistingRecycle
Override-FolderAction
  • CreateAllFolders
  • CreateNoEmptyFolders
  • UseExistingFoldersOnly
  • FlattenFolderHierarchy
Override-OtherFilesAction
  • KeepOtherFiles
  • DeleteOtherFiles
  • DeleteOtherFilesAndFolders
Override-Threads
  • Numeric value from 1-10
Override-ErrorAction
  • StopJob
  • ContinueJob
  • ExitGroupStep
Override-IncludeVersionHistory
  • True
  • False
Override-IncludePermissions
  • True
  • False
Override-VersionAction
  • NewMajor
  • NewMajorReset
  • NewMinorReset
  • OverwriteLatest
Override-JobMode
  • Normal
  • Test
  • TestNoUserValidation
  • CSOM
  • AzureAsync
  • AzureSync
Override-TransferFilesHavingWarning
  • True
  • False
Override-SharePointTargetConnection SharePoint Site URL. The beginning of the assigned URL is matched against the existing Connections URLs to select the connection override. This is useful when using cross-tenant/farm dynamic URLs
Override-SharePointSourceConnection SharePoint Site URL. The beginning of the assigned URL is matched against the existing Connections URLs to select the connection override. This is useful when using cross-tenant/farm dynamic URLs
Override-OffloadAction Set the type of Offload action.
  • Disabled
  • All
  • Versions
  • Restore
Last modified: 3 June 2024