Skip to content

Commit 4d1acc4

Browse files
Merge pull request #1014 from MicrosoftDocs/main
[AutoPublish] main to live - 09/03 01:34 PDT | 09/03 14:04 IST
2 parents 4557726 + 7aa1231 commit 4d1acc4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainer.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,19 @@ Set-SPOContainer [-Identity] <SPOContainerPipeBind>
4949
[-SharingDomainRestrictionMode <SharingDomainRestrictionModes>] [-SharingAllowedDomainList <String>]
5050
[-SharingBlockedDomainList <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
5151
```
52+
5253
### PrincipalOwnerTransfer
5354
```
5455
Set-SPOContainer [-Identity] <SPOContainerPipeBind> -CurrentPrincipalOwner <String>
5556
-NewPrincipalOwner <String> [-WhatIf] [-Confirm] [<CommonParameters>]
5657
```
58+
59+
### RestrictContentOrgWideSearch
60+
```
61+
Set-SPOContainer [-Identity] <SPOContainerPipeBind> [-RestrictContentOrgWideSearch <Boolean>] [-WhatIf]
62+
[-Confirm] [<CommonParameters>]
63+
```
64+
5765
## DESCRIPTION
5866

5967
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
328336
Accept wildcard characters: False
329337
```
330338
339+
### -RestrictContentOrgWideSearch
340+
341+
> Applicable: SharePoint Online
342+
343+
Controls whether org-wide content search is enabled for a container.
344+
345+
```yaml
346+
Type: Boolean
347+
Parameter Sets: RestrictContentOrgWideSearch
348+
Aliases:
349+
350+
Required: False
351+
Position: Named
352+
Default value: None
353+
Accept pipeline input: False
354+
Accept wildcard characters: False
355+
```
356+
331357
### -SensitivityLabel
332358
333359
> Applicable: SharePoint Online

0 commit comments

Comments
 (0)