-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorting parameters alphabetically in Set-SPOSite.md #785
base: main
Are you sure you want to change the base?
Conversation
Sorted the parameters alphabetically Fixed <Guid[]> to [Guid[]]
Learn Build status updates of commit ebbce08: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
@@ -22,64 +22,64 @@ Sets or updates one or more properties' values for a site collection. | |||
|
|||
```powershell | |||
Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [-Confirm] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for sorting all these existing params.
This [-AllowSelfServiceUpgrade] param is misplaced.
@@ -22,64 +22,64 @@ Sets or updates one or more properties' values for a site collection. | |||
|
|||
```powershell | |||
Set-SPOSite [-Identity] <SpoSitePipeBind> [-AllowSelfServiceUpgrade <Boolean>] [-Confirm] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could the current format of having each param in each line being kept?
Set-SPOSite
[-Identity] <SpoSitePipeBind
> [-Confirm]
[-AddRestrictedAccessControlGroups ]
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also update the Set-SPOTenant document?
- The extra space should be removed before the ending brackets.
- The params are not sort in alphabetical order.
[-SensitivityLabel ]
[-DisableWorkflow2010 ]
[-Sites ]
[-AnyoneLinkTrackUsers ]
[-OneDriveBlockGuestsAsSiteAdmin ]
[-AllowSharingOutsideRestrictedAccessControlGroups ]
[-Workflows2013Enabled ]
[-IsCollabMeetingNotesFluidEnabled ]
[-IsLoopEnabled ]
[-DisablePersonalListCreation ]
[-DisableVivaConnectionsAnalytics ]
[-AppBypassInformationBarriers ]
[-DisableModernListTemplateIds <Guid[]> ]
[-EnableModernListTemplateIds <Guid[]> ]
[-HideSyncButtonOnTeamSite ]
[-StreamLaunchConfig ]
[-EnableRestrictedAccessControl ]
[-BlockDownloadFileTypeIds <SPBlockDownloadFileTypeId[]> ]
[-ExcludedBlockDownloadGroupIds <Guid[]> ]
[-RecycleBinRetentionPeriod ]
[-EnableMediaReactions ]
[-AllowSensitivityLabelOnRecords ]
[-ContentSecurityPolicyEnforcement ]
[-Title <String>] [-WhatIf] [-AllowDownloadingNonWebViewableFiles <Boolean>] | ||
[-BlockDownloadPolicy <Boolean>] | ||
[-ClearRestrictedAccessControl <Boolean>] | ||
[-ClearRestrictedAccessControl <SwitchParameter>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you double check whether ClearRestrictedAccessControl alllows both <Boolean
> and <SwitchParameter
>?
They seems redundant to me.
[-Title <String>] [-WhatIf] [-AllowDownloadingNonWebViewableFiles <Boolean>] | ||
[-BlockDownloadPolicy <Boolean>] | ||
[-ClearRestrictedAccessControl <Boolean>] | ||
[-ClearRestrictedAccessControl <SwitchParameter>] | ||
[-CommentsOnSitePagesDisabled <Boolean>] [-SocialBarOnSitePagesDisabled <Boolean>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why [-SocialBarOnSitePagesDisabled ] is here?
[-CommentsOnSitePagesDisabled <Boolean>] [-SocialBarOnSitePagesDisabled <Boolean>] | ||
[-ConditionalAccessPolicy <SPOConditionalAccessPolicyType>] | ||
[-DefaultLinkPermission] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing value type here and below?
[-DefaultLinkToExistingAccess] | ||
[-DefaultShareLinkRole <SharingRole>] | ||
[-DefaultShareLinkScope <SharingScope>] | ||
[-DefaultSharingLinkType] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing value type?
[-DefaultShareLinkRole <SharingRole>] | ||
[-DefaultShareLinkScope <SharingScope>] | ||
[-DefaultSharingLinkType] | ||
[-DenyAddAndCustomizePages <Boolean>] [-LocaleId <UInt32>] [-LockState <String>] [-MediaTranscription <MediaTranscriptionPolicyType>] [-NoWait] [-Owner <String>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple params are mixed in this line and not in the alphabetic order.
[-DefaultShareLinkRole <SharingRole>] | ||
[-DefaultShareLinkScope <SharingScope>] | ||
[-DefaultSharingLinkType] | ||
[-DenyAddAndCustomizePages <Boolean>] [-LocaleId <UInt32>] [-LockState <String>] [-MediaTranscription <MediaTranscriptionPolicyType>] [-NoWait] [-Owner <String>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[-Confirm],[-NoWait] [-WhatIf] are part of CommonParameters. There is no need to list them specifically as you have [<CommonParameters
>] listed at the end.
[-SensitivityLabel <String>] | ||
[-SharingAllowedDomainList <String>] | ||
[-SharingBlockedDomainList <String>] | ||
[-SharingCapability <SharingCapabilities>] [-StorageQuota <Int64>] [-StorageQuotaWarningLevel <Int64>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mixed params in a single line.
[-SharingDomainRestrictionMode <SharingDomainRestrictionModes>] | ||
[-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>] | ||
[-StorageQuotaReset] | ||
[-Title <String>] [-WhatIf] [-AllowDownloadingNonWebViewableFiles <Boolean>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mis-placed [-AllowDownloadingNonWebViewableFiles ...] here and mixed Mutiple params.
Sorted the parameters alphabetically
Fixed <Guid[]> to [Guid[]]