Skip to content

Commit 9fefb97

Browse files
Merge pull request #643 from czhao2009/patch-1
Update Set-SPOSite.md
2 parents 9a8418a + 2213e22 commit 9fefb97

File tree

1 file changed

+36
-30
lines changed

1 file changed

+36
-30
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md

Lines changed: 36 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,29 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [
3030
[-Title <String>] [-WhatIf] [-AllowDownloadingNonWebViewableFiles <Boolean>]
3131
[-CommentsOnSitePagesDisabled <Boolean>] [-SocialBarOnSitePagesDisabled <Boolean>]
3232
[-DisableAppViews <AppViewsPolicy>]
33-
[-DisableCompanyWideSharingLinks <CompanyWideSharingLinksPolicy>]
33+
[-DisableCompanyWideSharingLinks <CompanyWideSharingLinksPolicy>]
3434
[-DisableFlows <FlowsPolicy>]
3535
[-LoopDefaultSharingLinkScope <SharingScope>]
3636
[-LoopDefaultSharingLinkRole <SharingRole>]
37-
[-RestrictedToGeo <RestrictedToRegion>]
37+
[-RestrictedToGeo <RestrictedToRegion>]
3838
[-SharingAllowedDomainList <String>]
39-
[-SharingBlockedDomainList <String>]
39+
[-SharingBlockedDomainList <String>]
4040
[-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
41-
[-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
41+
[-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
4242
[-StorageQuotaReset]
4343
[-DefaultSharingLinkType]
44-
[-DefaultLinkPermission]
44+
[-DefaultLinkPermission]
4545
[-DefaultLinkToExistingAccess]
4646
[-ConditionalAccessPolicy <SPOConditionalAccessPolicyType>]
4747
[-AuthenticationContextName <String>]
48-
[-LimitedAccessFileType <SPOLimitedAccessFileType>]
49-
[-AllowEditing <Boolean>]
50-
[-AnonymousLinkExpirationInDays <Int32>]
48+
[-LimitedAccessFileType <SPOLimitedAccessFileType>]
49+
[-AllowEditing <Boolean>]
50+
[-AnonymousLinkExpirationInDays <Int32>]
5151
[-OverrideTenantAnonymousLinkExpirationPolicy <Boolean>]
52-
[-OverrideTenantExternalUserExpirationPolicy <Boolean>]
52+
[-OverrideTenantExternalUserExpirationPolicy <Boolean>]
5353
[-ExternalUserExpirationInDays <Int32>]
54-
[-SensitivityLabel <String>]
55-
[-RequestFilesLinkExpirationInDays <Int32>]
54+
[-SensitivityLabel <String>]
55+
[-RequestFilesLinkExpirationInDays <Int32>]
5656
[-RequestFilesLinkEnabled <Boolean>]
5757
[-RemoveLabel]
5858
[-BlockDownloadPolicy <Boolean>]
@@ -66,7 +66,7 @@ Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [
6666
### ParamSet2
6767

6868
```powershell
69-
Set-SPOSite [-Identity] <SpoSitePipeBind> -EnablePWA <Boolean> [-Confirm] [-WhatIf] [<CommonParameters>]
69+
Set-SPOSite [-Identity] <SpoSitePipeBind> [-EnablePWA <Boolean>] [-Confirm] [-WhatIf] [<CommonParameters>]
7070
```
7171

7272
### ParamSet3
@@ -359,8 +359,6 @@ Accept wildcard characters: False
359359
360360
This parameter prevents non-owners from inviting new users to the site.
361361
362-
This parameter is available only in SharePoint Online Management Shell Version 16.0.4613.1211 or later.
363-
364362
```yaml
365363
Type: SwitchParameter
366364
Parameter Sets: ParamSet3
@@ -538,7 +536,13 @@ Accept wildcard characters: False
538536
### -SharingCapability
539537

540538
Determines what level of sharing is available for the site.
541-
The possible values are: Disabled - don't allow sharing outside your organization, ExistingExternalUserSharingOnly - Allow sharing only with the external users that already exist in your organization's directory, ExternalUserSharingOnly - allow external users who accept sharing invitations and sign in as authenticated users, or ExternalUserAndGuestSharing - allow sharing with all external users, and by using anonymous access links.
539+
540+
The valid values are:
541+
542+
- Disabled - Sharing outside your organization is disabled.
543+
- ExistingExternalUserSharingOnly - Allow sharing only with the external users that already exist in your organization's directory.
544+
- ExternalUserSharingOnly - External user sharing (share by email) is enabled, but anonymous link sharing is disabled.
545+
- ExternalUserAndGuestSharing - External user sharing (share by email) and anonymous link sharing are both enabled.
542546

543547
For more information about sharing, see Turn external sharing on or off for SharePoint Online (<https://learn.microsoft.com/sharepoint/turn-external-sharing-on-or-off>).
544548

@@ -697,7 +701,9 @@ Accept wildcard characters: False
697701
```
698702

699703
### -DisableCompanyWideSharingLinks
704+
700705
Disables People in your organization links. For more information, see [People in your organization sharing links](https://learn.microsoft.com/microsoft-365/solutions/microsoft-365-limit-sharing#people-in-your-organization-sharing-links).
706+
701707
Possible values
702708

703709
- Disabled
@@ -756,7 +762,7 @@ Accept wildcard characters: False
756762

757763
### -SharingAllowedDomainList
758764

759-
Specifies a list of email domains that is allowed for sharing with the external collaborators. Use the space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com".
765+
Specifies a list of email domains that are allowed for sharing with the external collaborators. Use the space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com".
760766

761767
For additional information about how to restrict a domain sharing, see [Restrict sharing of SharePoint and OneDrive content by domain](https://learn.microsoft.com/sharepoint/restricted-domains-sharing).
762768

@@ -774,7 +780,7 @@ Accept wildcard characters: False
774780

775781
### -SharingBlockedDomainList
776782

777-
Specifies a list of email domains that is blocked or prohibited for sharing with the external collaborators. Use space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com".
783+
Specifies a list of email domains that are blocked or prohibited for sharing with the external collaborators. Use space character as the delimiter for entering multiple values. For example, "contoso.com fabrikam.com".
778784

779785
For additional information about how to restrict a domain sharing, see [Restrict sharing of SharePoint and OneDrive content by domain](https://learn.microsoft.com/sharepoint/restricted-domains-sharing).
780786

@@ -795,9 +801,10 @@ Accept wildcard characters: False
795801
Specifies the sharing mode for external domains.
796802

797803
Possible values are:
804+
798805
- None - Do not restrict sharing by domain
799-
- AllowList - Sharing is allowed only with external users that have account on domains specified within -SharingAllowedDomainList
800-
- BlockList - Sharing is allowed with external users in all domains except in domains specified within -SharingBlockedDomainList
806+
- AllowList - Sharing is allowed only with external users that have account on domains specified with -SharingAllowedDomainList
807+
- BlockList - Sharing is allowed with external users in all domains except in domains specified with -SharingBlockedDomainList
801808

802809
For additional information about how to restrict a domain sharing, see [Restrict sharing of SharePoint and OneDrive content by domain](https://learn.microsoft.com/sharepoint/restricted-domains-sharing).
803810

@@ -815,7 +822,7 @@ Accept wildcard characters: False
815822

816823
### -ShowPeoplePickerSuggestionsForGuestUsers
817824

818-
To enable the option to search for existing guest users at Site Collection Level, set this parameter to $true.
825+
To enable the option to search for existing guest users at site collection level, set this parameter to $true.
819826

820827
```yaml
821828
Type: Boolean
@@ -847,7 +854,7 @@ Accept wildcard characters: False
847854

848855
### -DefaultSharingLinkType
849856

850-
The default link type for the site collection
857+
The default link type for the site collection. To be replaced by DefaultShareLinkScope.
851858

852859
PARAMVALUE: None | AnonymousAccess | Internal | Direct
853860

@@ -870,7 +877,7 @@ Accept wildcard characters: False
870877

871878
### -DefaultLinkToExistingAccess
872879

873-
When set to TRUE, the DefaultSharingLinkType will be overriden and the default sharing link will a People with Existing Access link (which does not modify permissions). When set to FALSE (the default), the default sharing link type is controlled by the DefaultSharingLinkType parameter
880+
When set to TRUE, the DefaultSharingLinkType will be overriden and the default sharing link will a People with Existing Access link (which does not modify permissions). When set to FALSE (the default), the DefaultSharingLinkType parameter controls the default sharing link type.
874881

875882
PARAMVALUE: $true | $false
876883

@@ -890,7 +897,7 @@ Accept wildcard characters: False
890897

891898
### -DefaultLinkPermission
892899

893-
The default link permission for the site collection
900+
The default link permission for the site collection. To be replaced by DefaultShareLinkRole.
894901

895902
PARAMVALUE: None | View | Edit
896903

@@ -935,7 +942,7 @@ Accept wildcard characters: False
935942

936943
### -LoopDefaultSharingLinkRole
937944

938-
Gets or sets default share link role for fluid on the site
945+
Gets or sets default share link role for fluid on the site.
939946

940947
The valid values are:
941948

@@ -959,7 +966,7 @@ Accept wildcard characters: False
959966

960967
### -OverrideTenantAnonymousLinkExpirationPolicy
961968

962-
Choose whether to override the anonymous or anyone link expiration policy on this site
969+
Choose whether to override the anonymous or anyone link expiration policy on this site.
963970

964971
PARAMVALUE: None | False | True
965972

@@ -983,7 +990,7 @@ Accept wildcard characters: False
983990

984991
Specifies all anonymous/anyone links that have been created (or will be created) will expire after the set number of days. Only applies if OverrideTenantAnonymousLinkExpirationPolicy is set to true.
985992

986-
To remove the expiration requirement, set the value to zero (0).
993+
The valid number should be between 1 and 730. To remove the expiration requirement, set the value to zero (0).
987994

988995
```yaml
989996
Type: Int32
@@ -999,7 +1006,7 @@ Accept wildcard characters: False
9991006

10001007
### -OverrideTenantExternalUserExpirationPolicy
10011008

1002-
Choose whether to override the external user expiration policy on this site
1009+
Choose whether to override the external user expiration policy on this site.
10031010

10041011
Possible values:
10051012

@@ -1023,7 +1030,7 @@ Accept wildcard characters: False
10231030

10241031
Specifies all external user expiration which will expire after the set number of days. Only applies if OverrideTenantExternalUserExpirationPolicy is set to true.
10251032

1026-
To remove the expiration requirement, set the value to zero (0).
1033+
The maximum value is 730. To remove the expiration requirement, set the value to zero (0).
10271034

10281035
```yaml
10291036
Type: Int32
@@ -1368,8 +1375,7 @@ Accept wildcard characters: False
13681375
```
13691376
### -OverrideSharingCapability
13701377

1371-
Determines whether it should override the sharing capability on its partition. For example, if the tenant sharing capability is `ExternalUserAndGuestSharing`, the core partition sharing capability is `Disabled`, and the side-defined sharing capability is also `ExternalUserAndGuestSharing`, the effective site sharing capability should be `Disabled` (the most restrictive one among tenant, partition, and site) if `OverrideSharingCapability` is `false`. If `OverrideSharingCapability` is `true`, it skips checking partition sharing capability and sets the site sharing capability to `ExternalUserAndGuestSharing`.
1372-
1378+
Determines whether it should override the sharing capability on its partition. For example, if the tenant sharing capability is `ExternalUserAndGuestSharing`, the core partition sharing capability is `Disabled`, and the sharing capability defined on the site collection is `ExternalUserAndGuestSharing`, the effective site sharing capability should be `Disabled` (the most restrictive one among tenant, partition, and site collecction) if `OverrideSharingCapability` is `false`. If `OverrideSharingCapability` is `true`, it skips checking partition sharing capability and the effective site sharing capability should be `ExternalUserAndGuestSharing`.
13731379

13741380
PARAMVALUE: False | True
13751381

0 commit comments

Comments
 (0)