Skip to main content

Applicationcrawlersettings

Properties

NameTypeDescriptionNotes
IsEnabledBooleanIndicates whether the feature or configuration is enabled.[optional] [default to $false]
ClusterIdStringThe identifier of the cluster associated with this configuration, if applicable.[optional]
CalculateResourceSizeCrawlresourcessizesoptions[optional]
CrawlSnapshotsFolderBooleanIndicates whether to crawl the snapshots folder.[optional] [default to $false]
CrawlMailboxesBooleanIndicates whether to crawl mailboxes.[optional] [default to $false]
CrawlPublicFoldersBooleanIndicates whether to crawl public folders.[optional] [default to $false]
ExcludedPathsByRegexStringRegular expression pattern for paths to exclude from crawling.[optional]
CrawlTopLevelShares[]StringList of top-level shares to crawl.[optional]
ExcludedResources[]StringList of resource identifiers to exclude from crawling.[optional]
IncludeResources[]StringList of resource identifiers to include in crawling.[optional]

Examples

  • Prepare the resource
$Applicationcrawlersettings = Initialize-Applicationcrawlersettings  -IsEnabled true `
-ClusterId cluster-001 `
-CalculateResourceSize null `
-CrawlSnapshotsFolder true `
-CrawlMailboxes false `
-CrawlPublicFolders true `
-ExcludedPathsByRegex ^/archive/.* `
-CrawlTopLevelShares ["share1","share2"] `
-ExcludedResources ["resourceA","resourceB"] `
-IncludeResources ["resourceX","resourceY"]
  • Convert the resource to JSON
$Applicationcrawlersettings | ConvertTo-JSON

[Back to top]