diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md index 090ca9ed3..91f5f2565 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md @@ -49,11 +49,19 @@ Set-SPOContainer [-Identity] [-SharingDomainRestrictionMode ] [-SharingAllowedDomainList ] [-SharingBlockedDomainList ] [-WhatIf] [-Confirm] [] ``` + ### PrincipalOwnerTransfer ``` Set-SPOContainer [-Identity] -CurrentPrincipalOwner -NewPrincipalOwner [-WhatIf] [-Confirm] [] ``` + +### RestrictContentOrgWideSearch +``` +Set-SPOContainer [-Identity] [-RestrictContentOrgWideSearch ] [-WhatIf] + [-Confirm] [] +``` + ## DESCRIPTION For any parameters that are passed in, the `Set-SPOContainer` cmdlet sets or updates the setting for the active container identified by the parameter `Identity`. The cmdlet throws an error if the identity of an archived container is provided. The principal owner transfer operation is supported only for containers that are user-owned. Attempting to perform this operation on non user-owned containers will result in an error. @@ -328,6 +336,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictContentOrgWideSearch + +> Applicable: SharePoint Online + +Controls whether org-wide content search is enabled for a container. + +```yaml +Type: Boolean +Parameter Sets: RestrictContentOrgWideSearch +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SensitivityLabel > Applicable: SharePoint Online