en-US

SmartWikiEntrySelectedSitesList

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Specifies the site URLs for the Smart Wiki library entry point setting. When SmartWikiEntryScope is IncludeSelectedSites, the entry point is available only on these sites. When SmartWikiEntryScope is ExcludeSelectedSites, the entry point is available on all sites except these sites.

You can use this parameter only when SmartWikiEntryScope is IncludeSelectedSites or ExcludeSelectedSites, either in the same command or as the current setting.

By default, the list that you specify replaces the current list. To add sites to or remove sites from the current list, use the SmartWikiEntrySelectedSitesListOperation parameter.

Specify the URL of each site collection, for example https://contoso.sharepoint.com/sites/marketing. The setting applies to the entire site collection, including its subsites. URLs that don't match a site collection in your organization are ignored, and the cmdlet displays a warning that lists them.

The list can contain up to 100 sites. To clear the list, specify an empty array (@()) with the default Overwrite operation. When the list is empty, IncludeSelectedSites doesn't make the entry point available on any site, and ExcludeSelectedSites makes it available on all sites.

If a selected site is deleted, it no longer appears in the Get-SPOTenant output, but it still counts toward the 100-site limit until you overwrite the list.

Microsoft Learn documentation

Characteristics

Type
String[]
Parameter sets
(All)

Apply

This value type (String[]) must be built by hand: see the examples on the policy page and the Microsoft documentation.