Skip to content

Commit bdba93c

Browse files
authored
Merge pull request #785 from prgundel/patch-2
Sorting parameters alphabetically in Set-SPOSite.md
2 parents 4739855 + 529a63e commit bdba93c

File tree

2 files changed

+303
-307
lines changed

2 files changed

+303
-307
lines changed

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

Lines changed: 75 additions & 141 deletions
Original file line numberDiff line numberDiff line change
@@ -21,65 +21,70 @@ Sets or updates one or more properties' values for a site collection.
2121
### ParamSet1
2222

2323
```powershell
24-
Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [-Confirm]
25-
[-DenyAddAndCustomizePages <Boolean>] [-LocaleId <UInt32>] [-LockState <String>] [-MediaTranscription <MediaTranscriptionPolicyType>] [-NoWait] [-Owner <String>]
26-
[-ResourceQuotaWarningLevel <Double>]
27-
[-SandboxedCodeActivationCapability <SandboxedCodeActivationCapabilities>]
24+
Set-SPOSite
25+
[-AddRestrictedAccessControlGroups [Guid[]]]
26+
[-AllowDownloadingNonWebViewableFiles <Boolean>]
27+
[-AllowEditing <Boolean>]
28+
[-AllowSelfServiceUpgrade <Boolean>]
29+
[-AnonymousLinkExpirationInDays <Int32>]
30+
[-AuthenticationContextAccessType <SPOAuthenticationContextPolicyAccessType>]
31+
[-AuthenticationContextName <String>]
2832
[-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>]
29-
[-SharingCapability <SharingCapabilities>] [-StorageQuota <Int64>] [-StorageQuotaWarningLevel <Int64>]
30-
[-Title <String>] [-WhatIf] [-AllowDownloadingNonWebViewableFiles <Boolean>]
31-
[-CommentsOnSitePagesDisabled <Boolean>] [-SocialBarOnSitePagesDisabled <Boolean>]
33+
[-BlockDownloadPolicy <Boolean>]
34+
[-ClearRestrictedAccessControl <SwitchParameter>]
35+
[-CommentsOnSitePagesDisabled <Boolean>]
36+
[-ConditionalAccessPolicy <SPOConditionalAccessPolicyType>]
37+
[-DefaultLinkPermission <SharingPermissionType>]
38+
[-DefaultLinkToExistingAccess <Boolean>]
39+
[-DefaultShareLinkRole <SharingRole>]
40+
[-DefaultShareLinkScope <SharingScope>]
41+
[-DefaultSharingLinkType <SharingLinkType>]
42+
[-DenyAddAndCustomizePages <Boolean>]
3243
[-DisableAppViews <AppViewsPolicy>]
3344
[-DisableCompanyWideSharingLinks <CompanyWideSharingLinksPolicy>]
3445
[-DisableFlows <FlowsPolicy>]
35-
[-LoopDefaultSharingLinkScope <SharingScope>]
36-
[-LoopDefaultSharingLinkRole <SharingRole>]
37-
[-RestrictedToGeo <RestrictedToRegion>]
38-
[-SharingAllowedDomainList <String>]
39-
[-SharingBlockedDomainList <String>]
40-
[-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
41-
[-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
42-
[-StorageQuotaReset]
43-
[-DefaultSharingLinkType]
44-
[-DefaultLinkPermission]
45-
[-DefaultLinkToExistingAccess]
46-
[-ConditionalAccessPolicy <SPOConditionalAccessPolicyType>]
47-
[-AuthenticationContextName <String>]
48-
[-LimitedAccessFileType <SPOLimitedAccessFileType>]
49-
[-AllowEditing <Boolean>]
50-
[-AnonymousLinkExpirationInDays <Int32>]
51-
[-OverrideTenantAnonymousLinkExpirationPolicy <Boolean>]
52-
[-OverrideTenantExternalUserExpirationPolicy <Boolean>]
46+
[-ExcludeBlockDownloadPolicySiteOwners <Boolean>]
47+
[-ExcludedBlockDownloadGroupIds [Guid[]]]
5348
[-ExternalUserExpirationInDays <Int32>]
54-
[-SensitivityLabel <String>]
55-
[-RequestFilesLinkExpirationInDays <Int32>]
56-
[-RequestFilesLinkEnabled <Boolean>]
57-
[-RemoveLabel]
58-
[-BlockDownloadPolicy <Boolean>]
59-
[-OverrideBlockUserInfoVisibility <String>]
60-
[-OverrideSharingCapability <Boolean>]
61-
[-DefaultShareLinkScope <SharingScope>]
62-
[-DefaultShareLinkRole <SharingRole>]
6349
[-HidePeoplePreviewingFiles <Boolean>]
6450
[-HidePeopleWhoHaveListsOpen <Boolean>]
65-
[-AddRestrictedAccessControlGroups <Guid>]
66-
[-ClearRestrictedAccessControl <Boolean>]
67-
[-RestrictedAccessControl <Boolean>]
68-
[-RestrictedAccessControlGroups <Guid>]
69-
[-RemoveRestrictedAccessControlGroups <Guid>]
70-
[-ReadOnlyForUnmanagedDevices <Boolean>]
71-
[-ExcludedBlockDownloadGroupIds <Guid>]
72-
[-ExcludeBlockDownloadPolicySiteOwners <Boolean>]
73-
[-ReadOnlyForBlockDownloadPolicy <Boolean>]
74-
[-AuthenticationContextAccessType <SPOAuthenticationContextPolicyAccessType>]
7551
[-HubSiteId <Guid>]
52+
[-Identity <SpoSitePipeBind>]
7653
[-InformationBarriersMode <String>]
54+
[-LimitedAccessFileType <SPOLimitedAccessFileType>]
55+
[-LocaleId <UInt32>]
56+
[-LockState <String>]
57+
[-LoopDefaultSharingLinkRole <SharingRole>]
58+
[-LoopDefaultSharingLinkScope <SharingScope>]
59+
[-MediaTranscription <MediaTranscriptionPolicyType>]
60+
[-OverrideBlockUserInfoVisibility <String>]
61+
[-OverrideSharingCapability <Boolean>]
62+
[-OverrideTenantAnonymousLinkExpirationPolicy <Boolean>]
63+
[-OverrideTenantExternalUserExpirationPolicy <Boolean>]
64+
[-Owner <String>]
65+
[-ReadOnlyForBlockDownloadPolicy <Boolean>]
66+
[-ReadOnlyForUnmanagedDevices <Boolean>]
67+
[-RemoveLabel <SwitchParameter>]
68+
[-RemoveRestrictedAccessControlGroups [Guid[]]]
69+
[-RequestFilesLinkEnabled <Boolean>]
70+
[-RequestFilesLinkExpirationInDays <Int32>]
71+
[-ResourceQuotaWarningLevel <Double>]
7772
[-RestrictContentOrgWideSearch <Boolean>]
7873
[-RestrictedAccessControl <Boolean>]
79-
[-RestrictedAccessControlGroups <Guid[]>]
80-
[-AddRestrictedAccessControlGroups <Guid[]>]
81-
[-RemoveRestrictedAccessControlGroups <Guid[]>]
82-
[-ClearRestrictedAccessControl <SwitchParameter>]
74+
[-RestrictedAccessControlGroups [Guid[]]]
75+
[-RestrictedToGeo <RestrictedToRegion>]
76+
[-SandboxedCodeActivationCapability <SandboxedCodeActivationCapabilities>]
77+
[-SensitivityLabel <String>]
78+
[-SharingAllowedDomainList <String>]
79+
[-SharingBlockedDomainList <String>]
80+
[-SharingCapability <SharingCapabilities>]
81+
[-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
82+
[-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
83+
[-SocialBarOnSitePagesDisabled <Boolean>]
84+
[-StorageQuota <Int64>]
85+
[-StorageQuotaReset <SwitchParameter>]
86+
[-StorageQuotaWarningLevel <Int64>]
87+
[-Title <String>]
8388
[<CommonParameters>]
8489
```
8590

@@ -335,36 +340,7 @@ Accept wildcard characters: False
335340
336341
Determines whether site collection administrators can upgrade their site collections.
337342
338-
```yaml
339-
Type: Boolean
340-
Parameter Sets: ParamSet1
341-
Aliases:
342-
Applicable: SharePoint Online
343-
Required: False
344-
Position: Named
345-
Default value: None
346-
Accept pipeline input: False
347-
Accept wildcard characters: False
348-
```
349-
### -AddRestrictedAccessControlGroups
350-
351-
Add the groups that are given access to the site and its content as per the restricted access control policy to the existing list of control groups.
352-
353-
```yaml
354-
Type: GUID
355-
Parameter Sets: ParamSet1
356-
Aliases:
357-
Applicable: SharePoint Online
358-
Required: False
359-
Position: Named
360-
Default value: None
361-
Accept pipeline input: False
362-
Accept wildcard characters: False
363-
```
364-
365-
### -ClearRestrictedAccessControl
366-
367-
Resets the restricted access control flag to False and clears the list of control groups that were given access to the site and its content as per restricted access control policy.
343+
PARAMVALUE: False | True
368344
369345
```yaml
370346
Type: Boolean
@@ -373,7 +349,7 @@ Aliases:
373349
Applicable: SharePoint Online
374350
Required: False
375351
Position: Named
376-
Default value: False
352+
Default value: None
377353
Accept pipeline input: False
378354
Accept wildcard characters: False
379355
```
@@ -399,6 +375,8 @@ Accept wildcard characters: False
399375
Determines whether the Add And Customize Pages right is denied on the site collection.
400376
For more information about permission levels, see User permissions and permission levels in SharePoint.
401377
378+
PARAMVALUE: False | True
379+
402380
```yaml
403381
Type: Boolean
404382
Parameter Sets: ParamSet1
@@ -536,7 +514,9 @@ Accept wildcard characters: False
536514

537515
### -RestrictedAccessControl
538516

539-
Specifies the flag value for restricted access control policy.
517+
Sets access restriction policy by group membership.
518+
519+
PARAMVALUE: False | True
540520

541521
```yaml
542522
Type: Boolean
@@ -550,38 +530,6 @@ Accept pipeline input: False
550530
Accept wildcard characters: False
551531
```
552532

553-
### -RestrictedAccessControlGroups
554-
555-
Specifies the groups that are given access to the site and its content as per the restricted access control policy.
556-
557-
```yaml
558-
Type: GUID
559-
Parameter Sets: ParamSet1
560-
Aliases:
561-
Applicable: SharePoint Online
562-
Required: False
563-
Position: Named
564-
Default value: None
565-
Accept pipeline input: False
566-
Accept wildcard characters: False
567-
```
568-
569-
### -RemoveRestrictedAccessControlGroups
570-
571-
Removes the specified groups from the list of control groups that are given access to the site and its content as per the restricted access control policy.
572-
573-
```yaml
574-
Type: GUID
575-
Parameter Sets: ParamSet1
576-
Aliases:
577-
Applicable: SharePoint Online
578-
Required: False
579-
Position: Named
580-
Default value: None
581-
Accept pipeline input: False
582-
Accept wildcard characters: False
583-
```
584-
585533
### -SensitivityLabel
586534

587535
Used to specify the unique identifier (GUID) of the SensitivityLabel.
@@ -730,12 +678,13 @@ Accept wildcard characters: False
730678

731679
Specifies if non web viewable files can be downloaded.
732680

681+
PARAMVALUE: False | True
682+
733683
```yaml
734684
Type: Boolean
735685
Parameter Sets: ParamSet1
736686
Aliases:
737687
Applicable: SharePoint Online
738-
739688
Required: False
740689
Position: Named
741690
Default value: None
@@ -748,12 +697,13 @@ Accept wildcard characters: False
748697
Use this parameter to disable Comments section on Site Pages.
749698
The parameter can't be used for Groups Site Collections.
750699

700+
PARAMVALUE: False | True
701+
751702
```yaml
752703
Type: Boolean
753704
Parameter Sets: ParamSet1
754705
Aliases:
755706
Applicable: SharePoint Online
756-
757707
Required: False
758708
Position: Named
759709
Default value: None
@@ -928,6 +878,8 @@ Accept wildcard characters: False
928878

929879
To enable the option to search for existing guest users at site collection level, set this parameter to $true.
930880

881+
PARAMVALUE: False | True
882+
931883
```yaml
932884
Type: Boolean
933885
Parameter Sets: ParamSet1
@@ -985,13 +937,11 @@ When set to TRUE, the DefaultSharingLinkType will be overriden and the default s
985937

986938
PARAMVALUE: False | True
987939

988-
989940
```yaml
990-
Type: SharingLinkType
941+
Type: Boolean
991942
Parameter Sets: ParamSet1
992943
Aliases:
993944
Applicable: SharePoint Online
994-
995945
Required: False
996946
Position: Named
997947
Default value: None
@@ -1152,12 +1102,13 @@ Accept wildcard characters: False
11521102

11531103
Enables or disables the Request Files link on the site.
11541104

1105+
PARAMVALUE: False | True
1106+
11551107
```yaml
11561108
Type: Boolean
11571109
Parameter Sets: ParamSet1
11581110
Aliases:
11591111
Applicable: SharePoint Online
1160-
11611112
Required: False
11621113
Position: Named
11631114
Default value: None
@@ -1475,6 +1426,7 @@ Default value: None
14751426
Accept pipeline input: False
14761427
Accept wildcard characters: False
14771428
```
1429+
14781430
### -OverrideSharingCapability
14791431

14801432
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`.
@@ -1547,7 +1499,6 @@ PARAMVALUE: False | True
15471499

15481500
If set to True, the presence of other users on the file will no longer be displayed.
15491501

1550-
15511502
```yaml
15521503
Type: Boolean
15531504
Parameter Sets: (All)
@@ -1558,8 +1509,8 @@ Position: Named
15581509
Default value: False
15591510
Accept pipeline input: False
15601511
Accept wildcard characters: False
1561-
15621512
```
1513+
15631514
### -HidePeopleWhoHaveListsOpen
15641515

15651516
This setting disables the feature in Microsoft Lists that displays the presence of other users on the list and its items when they are viewing.
@@ -1578,9 +1529,10 @@ Position: Named
15781529
Default value: False
15791530
Accept pipeline input: False
15801531
Accept wildcard characters: False
1581-
15821532
```
1533+
15831534
### -ClearGroupId
1535+
15841536
This parameter allows you to remove the assigned Microsoft 365 group ID on a site, when the group is permanently deleted.
15851537

15861538
```yaml
@@ -1593,6 +1545,7 @@ Default value: None
15931545
Accept pipeline input: False
15941546
Accept wildcard characters: False
15951547
```
1548+
15961549
### -ReadOnlyForUnmanagedDevices
15971550

15981551
Controls whether unmanaged devices have read-only access.
@@ -1645,6 +1598,7 @@ Accept wildcard characters: False
16451598
```
16461599

16471600
### -ReadOnlyForBlockDownloadPolicy
1601+
16481602
Controls if read-only should be enabled for block download policy.
16491603

16501604
PARAMVALUE: False | True
@@ -1681,7 +1635,6 @@ Accept wildcard characters: False
16811635

16821636
Controls whether Authentication Context Limited Access is enabled for a site.
16831637

1684-
16851638
The valid values are:
16861639

16871640
- AllowLimitedAccess
@@ -1749,24 +1702,6 @@ Accept pipeline input: False
17491702
Accept wildcard characters: False
17501703
```
17511704

1752-
### -RestrictedAccessControl
1753-
1754-
Sets access restriction policy by group membership.
1755-
1756-
PARAMVALUE: False | True
1757-
1758-
```yaml
1759-
Type: Boolean
1760-
Parameter Sets: ParamSet1
1761-
Aliases:
1762-
Applicable: SharePoint Online
1763-
Required: False
1764-
Position: Named
1765-
Default value: False
1766-
Accept pipeline input: False
1767-
Accept wildcard characters: False
1768-
```
1769-
17701705
### -RestrictedAccessControlGroups
17711706

17721707
Specifies the IDs of groups that have access under an access restriction policy.
@@ -1819,7 +1754,6 @@ Accept wildcard characters: False
18191754

18201755
Clears the list of groups that are given access via an access restriction policy.
18211756

1822-
18231757
```yaml
18241758
Type: SwitchParameter
18251759
Parameter Sets: (All)

0 commit comments

Comments
 (0)