From f1087fac9fed75feef9bb501351eefd2966bb611 Mon Sep 17 00:00:00 2001 From: Kartik P V R Date: Fri, 29 Aug 2025 14:12:14 +0530 Subject: [PATCH 1/3] RCD support for SPE containers --- .../Set-SPOContainer.md | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) 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..fc90c805f 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. @@ -444,6 +452,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictContentOrgWideSearch + +Controls whether org-wide content search is enabled for a site. + +```yaml +Type: Boolean +Parameter Sets: RestrictContentOrgWideSearch +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters > Applicable: SharePoint Online From e8389bb2ff5a8f1d91392a0109af1aae2d00f987 Mon Sep 17 00:00:00 2001 From: Kartik P V R Date: Mon, 1 Sep 2025 14:27:45 +0530 Subject: [PATCH 2/3] Correcting the descriptions --- .../Set-SPOContainer.md | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) 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 fc90c805f..371b8ff2e 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md @@ -336,6 +336,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictContentOrgWideSearch + +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 @@ -452,22 +468,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -RestrictContentOrgWideSearch - -Controls whether org-wide content search is enabled for a site. - -```yaml -Type: Boolean -Parameter Sets: RestrictContentOrgWideSearch -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### CommonParameters > Applicable: SharePoint Online From de4e21dd3e022df4f7f71d35c009d019c0413c78 Mon Sep 17 00:00:00 2001 From: Kartik P V R Date: Wed, 3 Sep 2025 12:22:32 +0530 Subject: [PATCH 3/3] Upadting as per comments --- .../Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md | 2 ++ 1 file changed, 2 insertions(+) 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 371b8ff2e..91f5f2565 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md @@ -338,6 +338,8 @@ Accept wildcard characters: False ### -RestrictContentOrgWideSearch +> Applicable: SharePoint Online + Controls whether org-wide content search is enabled for a container. ```yaml