Set-SPOTenant

设置 SharePoint Online 组织的属性。

语法

None (默认值)

Set-SPOTenant
    [-MinCompatibilityLevel <Int32>]
    [-MaxCompatibilityLevel <Int32>]
    [-ExternalServicesEnabled <Boolean>]
    [-NoAccessRedirectUrl <String>]
    [-ArchiveRedirectUrl <String>]
    [-SharingCapability <SharingCapabilities>]
    [-DisplayStartASiteOption <Boolean>]
    [-StartASiteFormUrl <String>]
    [-ShowEveryoneClaim <Boolean>]
    [-ShowAllUsersClaim <Boolean>]
    [-ShowEveryoneExceptExternalUsersClaim <Boolean>]
    [-AllowEveryoneExceptExternalUsersClaimInPrivateSite <Boolean>]
    [-SearchResolveExactEmailOrUPN <Boolean>]
    [-EnableAgentWorkerSharingDisclaimer <Boolean>]
    [-OfficeClientADALDisabled <Boolean>]
    [-LegacyAuthProtocolsEnabled <Boolean>]
    [-LegacyBrowserAuthProtocolsEnabled <Boolean>]
    [-AllowLegacyBrowserAuthProtocolsEnabledSetting <Boolean>]
    [-AllowLegacyAuthProtocolsEnabledSetting <Boolean>]
    [-DisableCustomAppAuthentication <Boolean>]
    [-IsSharePointAddInsDisabled <Boolean>]
    [-IsSharePointAddInsBlocked <Boolean>]
    [-DisableSharePointStoreAccess <Boolean>]
    [-SiteOwnerManageLegacyServicePrincipalEnabled <Boolean>]
    [-RequireAcceptingAccountMatchInvitedAccount <Boolean>]
    [-ProvisionSharedWithEveryoneFolder <Boolean>]
    [-SignInAccelerationDomain <String>]
    [-EnableGuestSignInAcceleration <Boolean>]
    [-UsePersistentCookiesForExplorerView <Boolean>]
    [-ReSyncTenantPrivacyProfile]
    [-BccExternalSharingInvitations <Boolean>]
    [-BccExternalSharingInvitationsList <String>]
    [-PublicCdnEnabled <Boolean>]
    [-PublicCdnAllowedFileTypes <String>]
    [-RequireAnonymousLinksExpireInDays <Int32>]
    [-OneDriveOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-SharingAllowedDomainList <String>]
    [-SharingBlockedDomainList <String>]
    [-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
    [-OneDriveStorageQuota <Int64>]
    [-OneDriveForGuestsEnabled <Boolean>]
    [-IPAddressEnforcement <Boolean>]
    [-IPAddressAllowList <String>]
    [-IPAddressWACTokenLifetime <Int32>]
    [-EnableTenantRestrictionsInsights <Boolean>]
    [-EnablePromotedFileHandlers <Boolean>]
    [-UseFindPeopleInPeoplePicker <Boolean>]
    [-DefaultSharingLinkType <SharingLinkType>]
    [-ODBMembersCanShare <SharingState>]
    [-ODBAccessRequests <SharingState>]
    [-PreventExternalUsersFromResharing <Boolean>]
    [-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
    [-AppOnlyBypassPeoplePickerPolicies <Boolean>]
    [-EnableDiscoverableByOrganizationForVideos <Boolean>]
    [-FileAnonymousLinkType <AnonymousLinkType>]
    [-FolderAnonymousLinkType <AnonymousLinkType>]
    [-NotifyOwnersWhenItemsReshared <Boolean>]
    [-NotifyOwnersWhenInvitationsAccepted <Boolean>]
    [-NotificationsInOneDriveForBusinessEnabled <Boolean>]
    [-NotificationsInSharePointEnabled <Boolean>]
    [-SelfServiceSiteCreationDisabled <Boolean>]
    [-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>]
    [-OwnerAnonymousNotification <Boolean>]
    [-CommentsOnSitePagesDisabled <Boolean>]
    [-CommentsOnFilesDisabled <Boolean>]
    [-CommentsOnListItemsDisabled <Boolean>]
    [-ViewersCanCommentOnMediaDisabled <Boolean>]
    [-SocialBarOnSitePagesDisabled <Boolean>]
    [-SiteOwnersCanAccessMissingContent <Boolean>]
    [-OrphanedPersonalSitesRetentionPeriod <Int32>]
    [-PermissiveBrowserFileHandlingOverride <Boolean>]
    [-DisallowInfectedFileDownload <Boolean>]
    [-DefaultLinkPermission <SharingPermissionType>]
    [-CustomizedExternalSharingServiceUrl <String>]
    [-ConditionalAccessPolicyErrorHelpLink <String>]
    [-RestrictedAccessControlforSitesErrorHelpLink <String>]
    [-RestrictedAccessControlForOneDriveErrorHelpLink <String>]
    [-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
    [-FilePickerExternalImageSearchEnabled <Boolean>]
    [-EmailAttestationRequired <Boolean>]
    [-EmailAttestationReAuthDays <Int32>]
    [-SyncPrivacyProfileProperties <Boolean>]
    [-DisabledWebPartIds <Guid[]>]
    [-DisabledAdaptiveCardExtensionIds <Guid[]>]
    [-EnableMinimumVersionRequirement <Boolean>]
    [-MarkNewFilesSensitiveByDefault <SensitiveByDefaultState>]
    [-EnableAIPIntegration <Boolean>]
    [-SyncAadB2BManagementPolicy <Boolean>]
    [-AllowCommentsTextOnEmailEnabled <Boolean>]
    [-EnableAzureADB2BIntegration <Boolean>]
    [-DisableAddShortcutsToOneDrive <Boolean>]
    [-IncludeAtAGlanceInShareEmails <Boolean>]
    [-DisableWorkflow2010 <Boolean>]
    [-EnableAutoNewsDigest <Boolean>]
    [-StopNew2010Workflows <Boolean>]
    [-StopNew2013Workflows <Boolean>]
    [-StopAlerts <Boolean>]
    [-DisableBackToClassic <Boolean>]
    [-ExternalUserExpirationRequired <Boolean>]
    [-ExternalUserExpireInDays <Int32>]
    [-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>]
    [-AnyoneLinkTrackUsers <Boolean>]
    [-BlockAppAccessWithAuthenticationContext <Boolean>]
    [-OneDriveLoopDefaultSharingLinkScope <SharingScope>]
    [-OneDriveLoopDefaultSharingLinkRole <SharingRole>]
    [-OneDriveRequestFilesLinkEnabled <Boolean>]
    [-OneDriveRequestFilesLinkExpirationInDays <Int32>]
    [-OneDriveSharingCapability <SharingCapabilities>]
    [-OneDriveDefaultShareLinkScope <SharingScope>]
    [-OneDriveDefaultShareLinkRole <SharingRole>]
    [-OneDriveDefaultLinkToExistingAccess <Boolean>]
    [-OneDriveBlockGuestsAsSiteAdmin <SharingState>]
    [-CoreLoopDefaultSharingLinkScope <SharingScope>]
    [-CoreLoopDefaultSharingLinkRole <SharingRole>]
    [-CoreSharingCapability <SharingCapabilities>]
    [-AllowSharingOutsideRestrictedAccessControlGroups <Boolean>]
    [-CoreRequestFilesLinkEnabled <Boolean>]
    [-CoreRequestFilesLinkExpirationInDays <Int32>]
    [-CoreDefaultShareLinkScope <SharingScope>]
    [-CoreDefaultShareLinkRole <SharingRole>]
    [-CoreDefaultLinkToExistingAccess <Boolean>]
    [-CoreBlockGuestsAsSiteAdmin <SharingState>]
    [-AllowAnonymousMeetingParticipantsToAccessWhiteboards <SharingState>]
    [-Workflows2013Enabled <Boolean>]
    [-IsFluidEnabled <Boolean>]
    [-IsWBFluidEnabled <Boolean>]
    [-IsCollabMeetingNotesFluidEnabled <Boolean>]
    [-IsLoopEnabled <Boolean>]
    [-DisableDocumentLibraryDefaultLabeling <Boolean>]
    [-ExtendPermissionsToUnprotectedFiles <Boolean>]
    [-EnableSensitivityLabelForPDF <Boolean>]
    [-EnableSensitivityLabelForOneNote <Boolean>]
    [-EnableSensitivityLabelForVideoFiles <Boolean>]
    [-BlockSendLabelMismatchEmail <Boolean>]
    [-LabelMismatchEmailHelpLink <String>]
    [-BlockUserInfoVisibility <String>]
    [-BlockUserInfoVisibilityInOneDrive <TenantBrowseUserInfoPolicyValue>]
    [-BlockUserInfoVisibilityInSharePoint <TenantBrowseUserInfoPolicyValue>]
    [-AllowOverrideForBlockUserInfoVisibility <Boolean>]
    [-DisablePersonalListCreation <Boolean>]
    [-DisableSpacesActivation <Boolean>]
    [-DisableSpfxTopBottomPlaceholdersInElevatedContent <Boolean>]
    [-DisableVivaConnectionsAnalytics <Boolean>]
    [-InformationBarriersSuspension <Boolean>]
    [-IBImplicitGroupBased <Boolean>]
    [-AppBypassInformationBarriers <Boolean>]
    [-AppAccessInformationBarriersAllowList <Guid[]>]
    [-AllOrganizationSecurityGroupId <Guid>]
    [-DisableModernListTemplateIds <Guid[]>]
    [-EnableModernListTemplateIds <Guid[]>]
    [-HideSyncButtonOnTeamSite <Boolean>]
    [-AllowGuestUserShareToUsersNotInSiteCollection <Boolean>]
    [-StreamLaunchConfig <Int32>]
    [-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
    [-DelegateRestrictedAccessControlManagement <Boolean>]
    [-DisableOutlookPSTVersionTrimming <Boolean>]
    [-MediaTranscription <MediaTranscriptionPolicyType>]
    [-MediaTranscriptionAutomaticFeatures <MediaTranscriptionAutomaticFeaturesPolicyType>]
    [-ViewInFileExplorerEnabled <Boolean>]
    [-AuthContextResilienceMode <SPResilienceModeType>]
    [-ReduceTempTokenLifetimeEnabled <Boolean>]
    [-ReduceTempTokenLifetimeValue <Int32>]
    [-ShowOpenInDesktopOptionForSyncedFiles <Boolean>]
    [-ShowPeoplePickerGroupSuggestionsForIB <Boolean>]
    [-EnableRestrictedAccessControl <Boolean>]
    [-RestrictAccessControlForAgenticUser <Boolean>]
    [-BlockDownloadFileTypePolicy <Boolean>]
    [-BlockDownloadFileTypeIds <SPBlockDownloadFileTypeId[]>]
    [-ExcludedBlockDownloadGroupIds <Guid[]>]
    [-TlsTokenBindingPolicyValue <SPOTlsTokenBindingPolicyValue>]
    [-RecycleBinRetentionPeriod <Int32>]
    [-IsEnableAppAuthPopUpEnabled <Boolean>]
    [-IsDataAccessInCardDesignerEnabled <Boolean>]
    [-MassDeleteNotificationDisabled <Boolean>]
    [-MassDeleteNotificationDisabledForODB <Boolean>]
    [-MassDeleteNotificationDisabledForSPO <Boolean>]
    [-EnableAutoExpirationVersionTrim <Boolean>]
    [-EnableMediaReactions <Boolean>]
    [-BusinessConnectivityServiceDisabled <Boolean>]
    [-ExpireVersionsAfterDays <Int32>]
    [-MajorVersionLimit <Int32>]
    [-FileTypesForVersionExpiration <String[]>]
    [-RemoveVersionExpirationFileTypeOverride <String[]>]
    [-AllowSensitivityLabelOnRecords <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
    [-AllowClassicPublishingSiteCreation <Boolean>]
    [-WhoCanShareAnonymousAllowList <Guid[]>]
    [-WhoCanShareAuthenticatedGuestAllowList <Guid[]>]
    [-ResyncContentSecurityPolicyConfigurationEntries <Boolean>]
    [-ContentSecurityPolicyEnforcement <Boolean>]
    [-DelayContentSecurityPolicyEnforcement <Boolean>]
    [-DocumentUnderstandingModelScope <SyntexFeatureScopeValue>]
    [-DocumentUnderstandingModelSelectedSitesList <String[]>]
    [-DocumentUnderstandingModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelScope <SyntexFeatureScopeValue>]
    [-AIBuilderModelSelectedSitesList <String[]>]
    [-AIBuilderModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelSelectedSitesIncludesContentCenters <Boolean>]
    [-PrebuiltModelScope <SyntexFeatureScopeValue>]
    [-PrebuiltModelSelectedSitesList <String[]>]
    [-PrebuiltModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DocumentTranslationScope <SyntexFeatureScopeValue>]
    [-DocumentTranslationSelectedSitesList <String[]>]
    [-DocumentTranslationSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AutofillColumnsScope <SyntexFeatureScopeValue>]
    [-AutofillColumnsSelectedSitesList <String[]>]
    [-AutofillColumnsSelectedSitesListOperation <SelectedSitesListOperations>]
    [-KnowledgeAgentScope <KnowledgeAgentFeatureScopeValue>]
    [-KnowledgeAgentSelectedSitesList <String[]>]
    [-KnowledgeAgentSelectedSitesListOperation <SelectedSitesListOperations>]
    [-OpticalCharacterRecognitionScope <SyntexFeatureScopeValue>]
    [-OpticalCharacterRecognitionSelectedSitesList <String[]>]
    [-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DefaultContentCenterSite <String>]
    [-DefaultLanguageForSiteCreation <String>]
    [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
    [-EnforceRequestDigest <Boolean>]
    [-RestrictResourceAccountAccess <Boolean>]
    [-RestrictExternalSharingForAgents <Boolean>]
    [-AllowFileArchive <Boolean>]
    [-AllowFileArchiveByDefault <Boolean>]
    [-EnableNotificationsSubscriptions <Boolean>]
    [-IsFilePreviewDomainRestrictionEnabled <Boolean>]
    [-FilePreviewAllowedDomainList <String>]
    [-DisableTeamsMeetingRecordingDeletedNotification <Boolean>]
    [<CommonParameters>]

ParameterSetContentTypeSyncSiteTemplatesList

Set-SPOTenant
    -ContentTypeSyncSiteTemplatesList <String[]>
    [-MinCompatibilityLevel <Int32>]
    [-MaxCompatibilityLevel <Int32>]
    [-ExternalServicesEnabled <Boolean>]
    [-NoAccessRedirectUrl <String>]
    [-ArchiveRedirectUrl <String>]
    [-SharingCapability <SharingCapabilities>]
    [-DisplayStartASiteOption <Boolean>]
    [-StartASiteFormUrl <String>]
    [-ShowEveryoneClaim <Boolean>]
    [-ShowAllUsersClaim <Boolean>]
    [-ShowEveryoneExceptExternalUsersClaim <Boolean>]
    [-AllowEveryoneExceptExternalUsersClaimInPrivateSite <Boolean>]
    [-SearchResolveExactEmailOrUPN <Boolean>]
    [-EnableAgentWorkerSharingDisclaimer <Boolean>]
    [-OfficeClientADALDisabled <Boolean>]
    [-LegacyAuthProtocolsEnabled <Boolean>]
    [-LegacyBrowserAuthProtocolsEnabled <Boolean>]
    [-AllowLegacyBrowserAuthProtocolsEnabledSetting <Boolean>]
    [-AllowLegacyAuthProtocolsEnabledSetting <Boolean>]
    [-DisableCustomAppAuthentication <Boolean>]
    [-IsSharePointAddInsDisabled <Boolean>]
    [-IsSharePointAddInsBlocked <Boolean>]
    [-DisableSharePointStoreAccess <Boolean>]
    [-SiteOwnerManageLegacyServicePrincipalEnabled <Boolean>]
    [-RequireAcceptingAccountMatchInvitedAccount <Boolean>]
    [-ProvisionSharedWithEveryoneFolder <Boolean>]
    [-SignInAccelerationDomain <String>]
    [-EnableGuestSignInAcceleration <Boolean>]
    [-UsePersistentCookiesForExplorerView <Boolean>]
    [-ExcludeSiteTemplate]
    [-ReSyncTenantPrivacyProfile]
    [-BccExternalSharingInvitations <Boolean>]
    [-BccExternalSharingInvitationsList <String>]
    [-PublicCdnEnabled <Boolean>]
    [-PublicCdnAllowedFileTypes <String>]
    [-RequireAnonymousLinksExpireInDays <Int32>]
    [-OneDriveOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-SharingAllowedDomainList <String>]
    [-SharingBlockedDomainList <String>]
    [-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
    [-OneDriveStorageQuota <Int64>]
    [-OneDriveForGuestsEnabled <Boolean>]
    [-IPAddressEnforcement <Boolean>]
    [-IPAddressAllowList <String>]
    [-IPAddressWACTokenLifetime <Int32>]
    [-EnableTenantRestrictionsInsights <Boolean>]
    [-EnablePromotedFileHandlers <Boolean>]
    [-UseFindPeopleInPeoplePicker <Boolean>]
    [-DefaultSharingLinkType <SharingLinkType>]
    [-ODBMembersCanShare <SharingState>]
    [-ODBAccessRequests <SharingState>]
    [-PreventExternalUsersFromResharing <Boolean>]
    [-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
    [-AppOnlyBypassPeoplePickerPolicies <Boolean>]
    [-EnableDiscoverableByOrganizationForVideos <Boolean>]
    [-FileAnonymousLinkType <AnonymousLinkType>]
    [-FolderAnonymousLinkType <AnonymousLinkType>]
    [-NotifyOwnersWhenItemsReshared <Boolean>]
    [-NotifyOwnersWhenInvitationsAccepted <Boolean>]
    [-NotificationsInOneDriveForBusinessEnabled <Boolean>]
    [-NotificationsInSharePointEnabled <Boolean>]
    [-SelfServiceSiteCreationDisabled <Boolean>]
    [-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>]
    [-OwnerAnonymousNotification <Boolean>]
    [-CommentsOnSitePagesDisabled <Boolean>]
    [-CommentsOnFilesDisabled <Boolean>]
    [-CommentsOnListItemsDisabled <Boolean>]
    [-ViewersCanCommentOnMediaDisabled <Boolean>]
    [-SocialBarOnSitePagesDisabled <Boolean>]
    [-SiteOwnersCanAccessMissingContent <Boolean>]
    [-OrphanedPersonalSitesRetentionPeriod <Int32>]
    [-PermissiveBrowserFileHandlingOverride <Boolean>]
    [-DisallowInfectedFileDownload <Boolean>]
    [-DefaultLinkPermission <SharingPermissionType>]
    [-CustomizedExternalSharingServiceUrl <String>]
    [-ConditionalAccessPolicyErrorHelpLink <String>]
    [-RestrictedAccessControlforSitesErrorHelpLink <String>]
    [-RestrictedAccessControlForOneDriveErrorHelpLink <String>]
    [-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
    [-FilePickerExternalImageSearchEnabled <Boolean>]
    [-EmailAttestationRequired <Boolean>]
    [-EmailAttestationReAuthDays <Int32>]
    [-SyncPrivacyProfileProperties <Boolean>]
    [-DisabledWebPartIds <Guid[]>]
    [-DisabledAdaptiveCardExtensionIds <Guid[]>]
    [-EnableMinimumVersionRequirement <Boolean>]
    [-MarkNewFilesSensitiveByDefault <SensitiveByDefaultState>]
    [-EnableAIPIntegration <Boolean>]
    [-SyncAadB2BManagementPolicy <Boolean>]
    [-AllowCommentsTextOnEmailEnabled <Boolean>]
    [-EnableAzureADB2BIntegration <Boolean>]
    [-DisableAddShortcutsToOneDrive <Boolean>]
    [-IncludeAtAGlanceInShareEmails <Boolean>]
    [-DisableWorkflow2010 <Boolean>]
    [-EnableAutoNewsDigest <Boolean>]
    [-StopNew2010Workflows <Boolean>]
    [-StopNew2013Workflows <Boolean>]
    [-StopAlerts <Boolean>]
    [-DisableBackToClassic <Boolean>]
    [-ExternalUserExpirationRequired <Boolean>]
    [-ExternalUserExpireInDays <Int32>]
    [-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>]
    [-AnyoneLinkTrackUsers <Boolean>]
    [-BlockAppAccessWithAuthenticationContext <Boolean>]
    [-OneDriveLoopDefaultSharingLinkScope <SharingScope>]
    [-OneDriveLoopDefaultSharingLinkRole <SharingRole>]
    [-OneDriveRequestFilesLinkEnabled <Boolean>]
    [-OneDriveRequestFilesLinkExpirationInDays <Int32>]
    [-OneDriveSharingCapability <SharingCapabilities>]
    [-OneDriveDefaultShareLinkScope <SharingScope>]
    [-OneDriveDefaultShareLinkRole <SharingRole>]
    [-OneDriveDefaultLinkToExistingAccess <Boolean>]
    [-OneDriveBlockGuestsAsSiteAdmin <SharingState>]
    [-CoreLoopDefaultSharingLinkScope <SharingScope>]
    [-CoreLoopDefaultSharingLinkRole <SharingRole>]
    [-CoreSharingCapability <SharingCapabilities>]
    [-AllowSharingOutsideRestrictedAccessControlGroups <Boolean>]
    [-CoreRequestFilesLinkEnabled <Boolean>]
    [-CoreRequestFilesLinkExpirationInDays <Int32>]
    [-CoreDefaultShareLinkScope <SharingScope>]
    [-CoreDefaultShareLinkRole <SharingRole>]
    [-CoreDefaultLinkToExistingAccess <Boolean>]
    [-CoreBlockGuestsAsSiteAdmin <SharingState>]
    [-AllowAnonymousMeetingParticipantsToAccessWhiteboards <SharingState>]
    [-Workflows2013Enabled <Boolean>]
    [-IsFluidEnabled <Boolean>]
    [-IsWBFluidEnabled <Boolean>]
    [-IsCollabMeetingNotesFluidEnabled <Boolean>]
    [-IsLoopEnabled <Boolean>]
    [-DisableDocumentLibraryDefaultLabeling <Boolean>]
    [-ExtendPermissionsToUnprotectedFiles <Boolean>]
    [-EnableSensitivityLabelForPDF <Boolean>]
    [-EnableSensitivityLabelForOneNote <Boolean>]
    [-EnableSensitivityLabelForVideoFiles <Boolean>]
    [-BlockSendLabelMismatchEmail <Boolean>]
    [-LabelMismatchEmailHelpLink <String>]
    [-BlockUserInfoVisibility <String>]
    [-BlockUserInfoVisibilityInOneDrive <TenantBrowseUserInfoPolicyValue>]
    [-BlockUserInfoVisibilityInSharePoint <TenantBrowseUserInfoPolicyValue>]
    [-AllowOverrideForBlockUserInfoVisibility <Boolean>]
    [-DisablePersonalListCreation <Boolean>]
    [-DisableSpacesActivation <Boolean>]
    [-DisableSpfxTopBottomPlaceholdersInElevatedContent <Boolean>]
    [-DisableVivaConnectionsAnalytics <Boolean>]
    [-InformationBarriersSuspension <Boolean>]
    [-IBImplicitGroupBased <Boolean>]
    [-AppBypassInformationBarriers <Boolean>]
    [-AppAccessInformationBarriersAllowList <Guid[]>]
    [-AllOrganizationSecurityGroupId <Guid>]
    [-DisableModernListTemplateIds <Guid[]>]
    [-EnableModernListTemplateIds <Guid[]>]
    [-HideSyncButtonOnTeamSite <Boolean>]
    [-AllowGuestUserShareToUsersNotInSiteCollection <Boolean>]
    [-StreamLaunchConfig <Int32>]
    [-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
    [-DelegateRestrictedAccessControlManagement <Boolean>]
    [-DisableOutlookPSTVersionTrimming <Boolean>]
    [-MediaTranscription <MediaTranscriptionPolicyType>]
    [-MediaTranscriptionAutomaticFeatures <MediaTranscriptionAutomaticFeaturesPolicyType>]
    [-ViewInFileExplorerEnabled <Boolean>]
    [-AuthContextResilienceMode <SPResilienceModeType>]
    [-ReduceTempTokenLifetimeEnabled <Boolean>]
    [-ReduceTempTokenLifetimeValue <Int32>]
    [-ShowOpenInDesktopOptionForSyncedFiles <Boolean>]
    [-ShowPeoplePickerGroupSuggestionsForIB <Boolean>]
    [-EnableRestrictedAccessControl <Boolean>]
    [-RestrictAccessControlForAgenticUser <Boolean>]
    [-BlockDownloadFileTypePolicy <Boolean>]
    [-BlockDownloadFileTypeIds <SPBlockDownloadFileTypeId[]>]
    [-ExcludedBlockDownloadGroupIds <Guid[]>]
    [-TlsTokenBindingPolicyValue <SPOTlsTokenBindingPolicyValue>]
    [-RecycleBinRetentionPeriod <Int32>]
    [-IsEnableAppAuthPopUpEnabled <Boolean>]
    [-IsDataAccessInCardDesignerEnabled <Boolean>]
    [-MassDeleteNotificationDisabled <Boolean>]
    [-MassDeleteNotificationDisabledForODB <Boolean>]
    [-MassDeleteNotificationDisabledForSPO <Boolean>]
    [-EnableAutoExpirationVersionTrim <Boolean>]
    [-EnableMediaReactions <Boolean>]
    [-BusinessConnectivityServiceDisabled <Boolean>]
    [-ExpireVersionsAfterDays <Int32>]
    [-MajorVersionLimit <Int32>]
    [-FileTypesForVersionExpiration <String[]>]
    [-RemoveVersionExpirationFileTypeOverride <String[]>]
    [-AllowSensitivityLabelOnRecords <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
    [-AllowClassicPublishingSiteCreation <Boolean>]
    [-WhoCanShareAnonymousAllowList <Guid[]>]
    [-WhoCanShareAuthenticatedGuestAllowList <Guid[]>]
    [-ResyncContentSecurityPolicyConfigurationEntries <Boolean>]
    [-ContentSecurityPolicyEnforcement <Boolean>]
    [-DelayContentSecurityPolicyEnforcement <Boolean>]
    [-DocumentUnderstandingModelScope <SyntexFeatureScopeValue>]
    [-DocumentUnderstandingModelSelectedSitesList <String[]>]
    [-DocumentUnderstandingModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelScope <SyntexFeatureScopeValue>]
    [-AIBuilderModelSelectedSitesList <String[]>]
    [-AIBuilderModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelSelectedSitesIncludesContentCenters <Boolean>]
    [-PrebuiltModelScope <SyntexFeatureScopeValue>]
    [-PrebuiltModelSelectedSitesList <String[]>]
    [-PrebuiltModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DocumentTranslationScope <SyntexFeatureScopeValue>]
    [-DocumentTranslationSelectedSitesList <String[]>]
    [-DocumentTranslationSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AutofillColumnsScope <SyntexFeatureScopeValue>]
    [-AutofillColumnsSelectedSitesList <String[]>]
    [-AutofillColumnsSelectedSitesListOperation <SelectedSitesListOperations>]
    [-KnowledgeAgentScope <KnowledgeAgentFeatureScopeValue>]
    [-KnowledgeAgentSelectedSitesList <String[]>]
    [-KnowledgeAgentSelectedSitesListOperation <SelectedSitesListOperations>]
    [-OpticalCharacterRecognitionScope <SyntexFeatureScopeValue>]
    [-OpticalCharacterRecognitionSelectedSitesList <String[]>]
    [-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DefaultContentCenterSite <String>]
    [-DefaultLanguageForSiteCreation <String>]
    [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
    [-EnforceRequestDigest <Boolean>]
    [-RestrictResourceAccountAccess <Boolean>]
    [-RestrictExternalSharingForAgents <Boolean>]
    [-AllowFileArchive <Boolean>]
    [-AllowFileArchiveByDefault <Boolean>]
    [-EnableNotificationsSubscriptions <Boolean>]
    [-IsFilePreviewDomainRestrictionEnabled <Boolean>]
    [-FilePreviewAllowedDomainList <String>]
    [-DisableTeamsMeetingRecordingDeletedNotification <Boolean>]
    [<CommonParameters>]

ParamSetMultipleSites

Set-SPOTenant
    [-MinCompatibilityLevel <Int32>]
    [-MaxCompatibilityLevel <Int32>]
    [-ExternalServicesEnabled <Boolean>]
    [-NoAccessRedirectUrl <String>]
    [-ArchiveRedirectUrl <String>]
    [-SharingCapability <SharingCapabilities>]
    [-DisplayStartASiteOption <Boolean>]
    [-StartASiteFormUrl <String>]
    [-ShowEveryoneClaim <Boolean>]
    [-ShowAllUsersClaim <Boolean>]
    [-ShowEveryoneExceptExternalUsersClaim <Boolean>]
    [-AllowEveryoneExceptExternalUsersClaimInPrivateSite <Boolean>]
    [-SearchResolveExactEmailOrUPN <Boolean>]
    [-EnableAgentWorkerSharingDisclaimer <Boolean>]
    [-OfficeClientADALDisabled <Boolean>]
    [-LegacyAuthProtocolsEnabled <Boolean>]
    [-LegacyBrowserAuthProtocolsEnabled <Boolean>]
    [-AllowLegacyBrowserAuthProtocolsEnabledSetting <Boolean>]
    [-AllowLegacyAuthProtocolsEnabledSetting <Boolean>]
    [-DisableCustomAppAuthentication <Boolean>]
    [-IsSharePointAddInsDisabled <Boolean>]
    [-IsSharePointAddInsBlocked <Boolean>]
    [-DisableSharePointStoreAccess <Boolean>]
    [-SiteOwnerManageLegacyServicePrincipalEnabled <Boolean>]
    [-RequireAcceptingAccountMatchInvitedAccount <Boolean>]
    [-ProvisionSharedWithEveryoneFolder <Boolean>]
    [-SignInAccelerationDomain <String>]
    [-EnableGuestSignInAcceleration <Boolean>]
    [-UsePersistentCookiesForExplorerView <Boolean>]
    [-ReSyncTenantPrivacyProfile]
    [-BccExternalSharingInvitations <Boolean>]
    [-BccExternalSharingInvitationsList <String>]
    [-PublicCdnEnabled <Boolean>]
    [-PublicCdnAllowedFileTypes <String>]
    [-RequireAnonymousLinksExpireInDays <Int32>]
    [-OneDriveOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-SharingAllowedDomainList <String>]
    [-SharingBlockedDomainList <String>]
    [-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
    [-OneDriveStorageQuota <Int64>]
    [-OneDriveForGuestsEnabled <Boolean>]
    [-IPAddressEnforcement <Boolean>]
    [-IPAddressAllowList <String>]
    [-IPAddressWACTokenLifetime <Int32>]
    [-EnableTenantRestrictionsInsights <Boolean>]
    [-EnablePromotedFileHandlers <Boolean>]
    [-UseFindPeopleInPeoplePicker <Boolean>]
    [-DefaultSharingLinkType <SharingLinkType>]
    [-ODBMembersCanShare <SharingState>]
    [-ODBAccessRequests <SharingState>]
    [-PreventExternalUsersFromResharing <Boolean>]
    [-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
    [-AppOnlyBypassPeoplePickerPolicies <Boolean>]
    [-EnableDiscoverableByOrganizationForVideos <Boolean>]
    [-FileAnonymousLinkType <AnonymousLinkType>]
    [-FolderAnonymousLinkType <AnonymousLinkType>]
    [-NotifyOwnersWhenItemsReshared <Boolean>]
    [-NotifyOwnersWhenInvitationsAccepted <Boolean>]
    [-NotificationsInOneDriveForBusinessEnabled <Boolean>]
    [-NotificationsInSharePointEnabled <Boolean>]
    [-SelfServiceSiteCreationDisabled <Boolean>]
    [-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>]
    [-OwnerAnonymousNotification <Boolean>]
    [-CommentsOnSitePagesDisabled <Boolean>]
    [-CommentsOnFilesDisabled <Boolean>]
    [-CommentsOnListItemsDisabled <Boolean>]
    [-ViewersCanCommentOnMediaDisabled <Boolean>]
    [-SocialBarOnSitePagesDisabled <Boolean>]
    [-SiteOwnersCanAccessMissingContent <Boolean>]
    [-OrphanedPersonalSitesRetentionPeriod <Int32>]
    [-PermissiveBrowserFileHandlingOverride <Boolean>]
    [-DisallowInfectedFileDownload <Boolean>]
    [-DefaultLinkPermission <SharingPermissionType>]
    [-CustomizedExternalSharingServiceUrl <String>]
    [-ConditionalAccessPolicyErrorHelpLink <String>]
    [-RestrictedAccessControlforSitesErrorHelpLink <String>]
    [-SensitivityLabel <String>]
    [-RestrictedAccessControlForOneDriveErrorHelpLink <String>]
    [-ConditionalAccessPolicy <SPOConditionalAccessPolicyType>]
    [-AllowDownloadingNonWebViewableFiles <Boolean>]
    [-LimitedAccessFileType <SPOLimitedAccessFileType>]
    [-AllowEditing <Boolean>]
    [-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
    [-FilePickerExternalImageSearchEnabled <Boolean>]
    [-EmailAttestationRequired <Boolean>]
    [-EmailAttestationReAuthDays <Int32>]
    [-SyncPrivacyProfileProperties <Boolean>]
    [-DisabledWebPartIds <Guid[]>]
    [-DisabledAdaptiveCardExtensionIds <Guid[]>]
    [-EnableMinimumVersionRequirement <Boolean>]
    [-MarkNewFilesSensitiveByDefault <SensitiveByDefaultState>]
    [-EnableAIPIntegration <Boolean>]
    [-SyncAadB2BManagementPolicy <Boolean>]
    [-AllowCommentsTextOnEmailEnabled <Boolean>]
    [-EnableAzureADB2BIntegration <Boolean>]
    [-DisableAddShortcutsToOneDrive <Boolean>]
    [-IncludeAtAGlanceInShareEmails <Boolean>]
    [-DisableWorkflow2010 <Boolean>]
    [-EnableAutoNewsDigest <Boolean>]
    [-StopNew2010Workflows <Boolean>]
    [-StopNew2013Workflows <Boolean>]
    [-StopAlerts <Boolean>]
    [-DisableBackToClassic <Boolean>]
    [-Sites <SpoSitePipeBind[]>]
    [-ExternalUserExpirationRequired <Boolean>]
    [-ExternalUserExpireInDays <Int32>]
    [-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>]
    [-AnyoneLinkTrackUsers <Boolean>]
    [-BlockAppAccessWithAuthenticationContext <Boolean>]
    [-OneDriveLoopDefaultSharingLinkScope <SharingScope>]
    [-OneDriveLoopDefaultSharingLinkRole <SharingRole>]
    [-OneDriveRequestFilesLinkEnabled <Boolean>]
    [-OneDriveRequestFilesLinkExpirationInDays <Int32>]
    [-OneDriveSharingCapability <SharingCapabilities>]
    [-OneDriveDefaultShareLinkScope <SharingScope>]
    [-OneDriveDefaultShareLinkRole <SharingRole>]
    [-OneDriveDefaultLinkToExistingAccess <Boolean>]
    [-OneDriveBlockGuestsAsSiteAdmin <SharingState>]
    [-CoreLoopDefaultSharingLinkScope <SharingScope>]
    [-CoreLoopDefaultSharingLinkRole <SharingRole>]
    [-CoreSharingCapability <SharingCapabilities>]
    [-AllowSharingOutsideRestrictedAccessControlGroups <Boolean>]
    [-CoreRequestFilesLinkEnabled <Boolean>]
    [-CoreRequestFilesLinkExpirationInDays <Int32>]
    [-CoreDefaultShareLinkScope <SharingScope>]
    [-CoreDefaultShareLinkRole <SharingRole>]
    [-CoreDefaultLinkToExistingAccess <Boolean>]
    [-CoreBlockGuestsAsSiteAdmin <SharingState>]
    [-AllowAnonymousMeetingParticipantsToAccessWhiteboards <SharingState>]
    [-Workflows2013Enabled <Boolean>]
    [-IsFluidEnabled <Boolean>]
    [-IsWBFluidEnabled <Boolean>]
    [-IsCollabMeetingNotesFluidEnabled <Boolean>]
    [-IsLoopEnabled <Boolean>]
    [-DisableDocumentLibraryDefaultLabeling <Boolean>]
    [-ExtendPermissionsToUnprotectedFiles <Boolean>]
    [-EnableSensitivityLabelForPDF <Boolean>]
    [-EnableSensitivityLabelForOneNote <Boolean>]
    [-EnableSensitivityLabelForVideoFiles <Boolean>]
    [-BlockSendLabelMismatchEmail <Boolean>]
    [-LabelMismatchEmailHelpLink <String>]
    [-BlockUserInfoVisibility <String>]
    [-BlockUserInfoVisibilityInOneDrive <TenantBrowseUserInfoPolicyValue>]
    [-BlockUserInfoVisibilityInSharePoint <TenantBrowseUserInfoPolicyValue>]
    [-AllowOverrideForBlockUserInfoVisibility <Boolean>]
    [-DisablePersonalListCreation <Boolean>]
    [-DisableSpacesActivation <Boolean>]
    [-DisableSpfxTopBottomPlaceholdersInElevatedContent <Boolean>]
    [-DisableVivaConnectionsAnalytics <Boolean>]
    [-InformationBarriersSuspension <Boolean>]
    [-IBImplicitGroupBased <Boolean>]
    [-AppBypassInformationBarriers <Boolean>]
    [-AppAccessInformationBarriersAllowList <Guid[]>]
    [-AllOrganizationSecurityGroupId <Guid>]
    [-DisableModernListTemplateIds <Guid[]>]
    [-EnableModernListTemplateIds <Guid[]>]
    [-HideSyncButtonOnTeamSite <Boolean>]
    [-AllowGuestUserShareToUsersNotInSiteCollection <Boolean>]
    [-StreamLaunchConfig <Int32>]
    [-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
    [-DelegateRestrictedAccessControlManagement <Boolean>]
    [-DisableOutlookPSTVersionTrimming <Boolean>]
    [-MediaTranscription <MediaTranscriptionPolicyType>]
    [-MediaTranscriptionAutomaticFeatures <MediaTranscriptionAutomaticFeaturesPolicyType>]
    [-ViewInFileExplorerEnabled <Boolean>]
    [-AuthContextResilienceMode <SPResilienceModeType>]
    [-ReduceTempTokenLifetimeEnabled <Boolean>]
    [-ReduceTempTokenLifetimeValue <Int32>]
    [-ShowOpenInDesktopOptionForSyncedFiles <Boolean>]
    [-ShowPeoplePickerGroupSuggestionsForIB <Boolean>]
    [-EnableRestrictedAccessControl <Boolean>]
    [-RestrictAccessControlForAgenticUser <Boolean>]
    [-BlockDownloadFileTypePolicy <Boolean>]
    [-BlockDownloadFileTypeIds <SPBlockDownloadFileTypeId[]>]
    [-ExcludedBlockDownloadGroupIds <Guid[]>]
    [-TlsTokenBindingPolicyValue <SPOTlsTokenBindingPolicyValue>]
    [-RecycleBinRetentionPeriod <Int32>]
    [-IsEnableAppAuthPopUpEnabled <Boolean>]
    [-IsDataAccessInCardDesignerEnabled <Boolean>]
    [-MassDeleteNotificationDisabled <Boolean>]
    [-MassDeleteNotificationDisabledForODB <Boolean>]
    [-MassDeleteNotificationDisabledForSPO <Boolean>]
    [-EnableAutoExpirationVersionTrim <Boolean>]
    [-EnableMediaReactions <Boolean>]
    [-BusinessConnectivityServiceDisabled <Boolean>]
    [-ExpireVersionsAfterDays <Int32>]
    [-MajorVersionLimit <Int32>]
    [-FileTypesForVersionExpiration <String[]>]
    [-RemoveVersionExpirationFileTypeOverride <String[]>]
    [-AllowSensitivityLabelOnRecords <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
    [-AllowClassicPublishingSiteCreation <Boolean>]
    [-WhoCanShareAnonymousAllowList <Guid[]>]
    [-WhoCanShareAuthenticatedGuestAllowList <Guid[]>]
    [-ResyncContentSecurityPolicyConfigurationEntries <Boolean>]
    [-ContentSecurityPolicyEnforcement <Boolean>]
    [-DelayContentSecurityPolicyEnforcement <Boolean>]
    [-DocumentUnderstandingModelScope <SyntexFeatureScopeValue>]
    [-DocumentUnderstandingModelSelectedSitesList <String[]>]
    [-DocumentUnderstandingModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelScope <SyntexFeatureScopeValue>]
    [-AIBuilderModelSelectedSitesList <String[]>]
    [-AIBuilderModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelSelectedSitesIncludesContentCenters <Boolean>]
    [-PrebuiltModelScope <SyntexFeatureScopeValue>]
    [-PrebuiltModelSelectedSitesList <String[]>]
    [-PrebuiltModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DocumentTranslationScope <SyntexFeatureScopeValue>]
    [-DocumentTranslationSelectedSitesList <String[]>]
    [-DocumentTranslationSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AutofillColumnsScope <SyntexFeatureScopeValue>]
    [-AutofillColumnsSelectedSitesList <String[]>]
    [-AutofillColumnsSelectedSitesListOperation <SelectedSitesListOperations>]
    [-KnowledgeAgentScope <KnowledgeAgentFeatureScopeValue>]
    [-KnowledgeAgentSelectedSitesList <String[]>]
    [-KnowledgeAgentSelectedSitesListOperation <SelectedSitesListOperations>]
    [-OpticalCharacterRecognitionScope <SyntexFeatureScopeValue>]
    [-OpticalCharacterRecognitionSelectedSitesList <String[]>]
    [-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DefaultContentCenterSite <String>]
    [-DefaultLanguageForSiteCreation <String>]
    [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
    [-EnforceRequestDigest <Boolean>]
    [-RestrictResourceAccountAccess <Boolean>]
    [-RestrictExternalSharingForAgents <Boolean>]
    [-AllowFileArchive <Boolean>]
    [-AllowFileArchiveByDefault <Boolean>]
    [-EnableNotificationsSubscriptions <Boolean>]
    [-IsFilePreviewDomainRestrictionEnabled <Boolean>]
    [-FilePreviewAllowedDomainList <String>]
    [-DisableTeamsMeetingRecordingDeletedNotification <Boolean>]
    [<CommonParameters>]

InformationBarrier

Set-SPOTenant
    [-MinCompatibilityLevel <Int32>]
    [-MaxCompatibilityLevel <Int32>]
    [-ExternalServicesEnabled <Boolean>]
    [-NoAccessRedirectUrl <String>]
    [-ArchiveRedirectUrl <String>]
    [-SharingCapability <SharingCapabilities>]
    [-DisplayStartASiteOption <Boolean>]
    [-StartASiteFormUrl <String>]
    [-ShowEveryoneClaim <Boolean>]
    [-ShowAllUsersClaim <Boolean>]
    [-ShowEveryoneExceptExternalUsersClaim <Boolean>]
    [-AllowEveryoneExceptExternalUsersClaimInPrivateSite <Boolean>]
    [-SearchResolveExactEmailOrUPN <Boolean>]
    [-EnableAgentWorkerSharingDisclaimer <Boolean>]
    [-OfficeClientADALDisabled <Boolean>]
    [-LegacyAuthProtocolsEnabled <Boolean>]
    [-LegacyBrowserAuthProtocolsEnabled <Boolean>]
    [-AllowLegacyBrowserAuthProtocolsEnabledSetting <Boolean>]
    [-AllowLegacyAuthProtocolsEnabledSetting <Boolean>]
    [-DisableCustomAppAuthentication <Boolean>]
    [-IsSharePointAddInsDisabled <Boolean>]
    [-IsSharePointAddInsBlocked <Boolean>]
    [-DisableSharePointStoreAccess <Boolean>]
    [-SiteOwnerManageLegacyServicePrincipalEnabled <Boolean>]
    [-RequireAcceptingAccountMatchInvitedAccount <Boolean>]
    [-ProvisionSharedWithEveryoneFolder <Boolean>]
    [-SignInAccelerationDomain <String>]
    [-EnableGuestSignInAcceleration <Boolean>]
    [-UsePersistentCookiesForExplorerView <Boolean>]
    [-ReSyncTenantPrivacyProfile]
    [-BccExternalSharingInvitations <Boolean>]
    [-BccExternalSharingInvitationsList <String>]
    [-PublicCdnEnabled <Boolean>]
    [-PublicCdnAllowedFileTypes <String>]
    [-RequireAnonymousLinksExpireInDays <Int32>]
    [-OneDriveOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-SharingAllowedDomainList <String>]
    [-SharingBlockedDomainList <String>]
    [-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
    [-OneDriveStorageQuota <Int64>]
    [-OneDriveForGuestsEnabled <Boolean>]
    [-IPAddressEnforcement <Boolean>]
    [-IPAddressAllowList <String>]
    [-IPAddressWACTokenLifetime <Int32>]
    [-EnableTenantRestrictionsInsights <Boolean>]
    [-EnablePromotedFileHandlers <Boolean>]
    [-UseFindPeopleInPeoplePicker <Boolean>]
    [-DefaultSharingLinkType <SharingLinkType>]
    [-ODBMembersCanShare <SharingState>]
    [-ODBAccessRequests <SharingState>]
    [-PreventExternalUsersFromResharing <Boolean>]
    [-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
    [-AppOnlyBypassPeoplePickerPolicies <Boolean>]
    [-EnableDiscoverableByOrganizationForVideos <Boolean>]
    [-FileAnonymousLinkType <AnonymousLinkType>]
    [-FolderAnonymousLinkType <AnonymousLinkType>]
    [-NotifyOwnersWhenItemsReshared <Boolean>]
    [-NotifyOwnersWhenInvitationsAccepted <Boolean>]
    [-NotificationsInOneDriveForBusinessEnabled <Boolean>]
    [-NotificationsInSharePointEnabled <Boolean>]
    [-SelfServiceSiteCreationDisabled <Boolean>]
    [-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>]
    [-OwnerAnonymousNotification <Boolean>]
    [-CommentsOnSitePagesDisabled <Boolean>]
    [-CommentsOnFilesDisabled <Boolean>]
    [-CommentsOnListItemsDisabled <Boolean>]
    [-ViewersCanCommentOnMediaDisabled <Boolean>]
    [-SocialBarOnSitePagesDisabled <Boolean>]
    [-SiteOwnersCanAccessMissingContent <Boolean>]
    [-OrphanedPersonalSitesRetentionPeriod <Int32>]
    [-PermissiveBrowserFileHandlingOverride <Boolean>]
    [-DisallowInfectedFileDownload <Boolean>]
    [-DefaultLinkPermission <SharingPermissionType>]
    [-CustomizedExternalSharingServiceUrl <String>]
    [-ConditionalAccessPolicyErrorHelpLink <String>]
    [-RestrictedAccessControlforSitesErrorHelpLink <String>]
    [-RestrictedAccessControlForOneDriveErrorHelpLink <String>]
    [-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
    [-FilePickerExternalImageSearchEnabled <Boolean>]
    [-EmailAttestationRequired <Boolean>]
    [-EmailAttestationReAuthDays <Int32>]
    [-SyncPrivacyProfileProperties <Boolean>]
    [-DisabledWebPartIds <Guid[]>]
    [-DisabledAdaptiveCardExtensionIds <Guid[]>]
    [-EnableMinimumVersionRequirement <Boolean>]
    [-MarkNewFilesSensitiveByDefault <SensitiveByDefaultState>]
    [-EnableAIPIntegration <Boolean>]
    [-SyncAadB2BManagementPolicy <Boolean>]
    [-AllowCommentsTextOnEmailEnabled <Boolean>]
    [-EnableAzureADB2BIntegration <Boolean>]
    [-DisableAddShortcutsToOneDrive <Boolean>]
    [-IncludeAtAGlanceInShareEmails <Boolean>]
    [-DisableWorkflow2010 <Boolean>]
    [-EnableAutoNewsDigest <Boolean>]
    [-StopNew2010Workflows <Boolean>]
    [-StopNew2013Workflows <Boolean>]
    [-StopAlerts <Boolean>]
    [-DisableBackToClassic <Boolean>]
    [-ExternalUserExpirationRequired <Boolean>]
    [-ExternalUserExpireInDays <Int32>]
    [-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>]
    [-AnyoneLinkTrackUsers <Boolean>]
    [-BlockAppAccessWithAuthenticationContext <Boolean>]
    [-OneDriveLoopDefaultSharingLinkScope <SharingScope>]
    [-OneDriveLoopDefaultSharingLinkRole <SharingRole>]
    [-OneDriveRequestFilesLinkEnabled <Boolean>]
    [-OneDriveRequestFilesLinkExpirationInDays <Int32>]
    [-OneDriveSharingCapability <SharingCapabilities>]
    [-OneDriveDefaultShareLinkScope <SharingScope>]
    [-OneDriveDefaultShareLinkRole <SharingRole>]
    [-OneDriveDefaultLinkToExistingAccess <Boolean>]
    [-OneDriveBlockGuestsAsSiteAdmin <SharingState>]
    [-CoreLoopDefaultSharingLinkScope <SharingScope>]
    [-CoreLoopDefaultSharingLinkRole <SharingRole>]
    [-CoreSharingCapability <SharingCapabilities>]
    [-AllowSharingOutsideRestrictedAccessControlGroups <Boolean>]
    [-CoreRequestFilesLinkEnabled <Boolean>]
    [-CoreRequestFilesLinkExpirationInDays <Int32>]
    [-CoreDefaultShareLinkScope <SharingScope>]
    [-CoreDefaultShareLinkRole <SharingRole>]
    [-CoreDefaultLinkToExistingAccess <Boolean>]
    [-CoreBlockGuestsAsSiteAdmin <SharingState>]
    [-AllowAnonymousMeetingParticipantsToAccessWhiteboards <SharingState>]
    [-Workflows2013Enabled <Boolean>]
    [-IsFluidEnabled <Boolean>]
    [-IsWBFluidEnabled <Boolean>]
    [-IsCollabMeetingNotesFluidEnabled <Boolean>]
    [-IsLoopEnabled <Boolean>]
    [-DisableDocumentLibraryDefaultLabeling <Boolean>]
    [-ExtendPermissionsToUnprotectedFiles <Boolean>]
    [-EnableSensitivityLabelForPDF <Boolean>]
    [-EnableSensitivityLabelForOneNote <Boolean>]
    [-EnableSensitivityLabelForVideoFiles <Boolean>]
    [-BlockSendLabelMismatchEmail <Boolean>]
    [-LabelMismatchEmailHelpLink <String>]
    [-BlockUserInfoVisibility <String>]
    [-BlockUserInfoVisibilityInOneDrive <TenantBrowseUserInfoPolicyValue>]
    [-BlockUserInfoVisibilityInSharePoint <TenantBrowseUserInfoPolicyValue>]
    [-AllowOverrideForBlockUserInfoVisibility <Boolean>]
    [-DisablePersonalListCreation <Boolean>]
    [-DisableSpacesActivation <Boolean>]
    [-DisableSpfxTopBottomPlaceholdersInElevatedContent <Boolean>]
    [-DisableVivaConnectionsAnalytics <Boolean>]
    [-InformationBarriersSuspension <Boolean>]
    [-IBImplicitGroupBased <Boolean>]
    [-AppBypassInformationBarriers <Boolean>]
    [-DefaultOneDriveInformationBarrierMode <String>]
    [-AppAccessInformationBarriersAllowList <Guid[]>]
    [-AllOrganizationSecurityGroupId <Guid>]
    [-DisableModernListTemplateIds <Guid[]>]
    [-EnableModernListTemplateIds <Guid[]>]
    [-HideSyncButtonOnTeamSite <Boolean>]
    [-AllowGuestUserShareToUsersNotInSiteCollection <Boolean>]
    [-StreamLaunchConfig <Int32>]
    [-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
    [-DelegateRestrictedAccessControlManagement <Boolean>]
    [-DisableOutlookPSTVersionTrimming <Boolean>]
    [-MediaTranscription <MediaTranscriptionPolicyType>]
    [-MediaTranscriptionAutomaticFeatures <MediaTranscriptionAutomaticFeaturesPolicyType>]
    [-ViewInFileExplorerEnabled <Boolean>]
    [-AuthContextResilienceMode <SPResilienceModeType>]
    [-ReduceTempTokenLifetimeEnabled <Boolean>]
    [-ReduceTempTokenLifetimeValue <Int32>]
    [-ShowOpenInDesktopOptionForSyncedFiles <Boolean>]
    [-ShowPeoplePickerGroupSuggestionsForIB <Boolean>]
    [-EnableRestrictedAccessControl <Boolean>]
    [-RestrictAccessControlForAgenticUser <Boolean>]
    [-BlockDownloadFileTypePolicy <Boolean>]
    [-BlockDownloadFileTypeIds <SPBlockDownloadFileTypeId[]>]
    [-ExcludedBlockDownloadGroupIds <Guid[]>]
    [-TlsTokenBindingPolicyValue <SPOTlsTokenBindingPolicyValue>]
    [-RecycleBinRetentionPeriod <Int32>]
    [-IsEnableAppAuthPopUpEnabled <Boolean>]
    [-IsDataAccessInCardDesignerEnabled <Boolean>]
    [-MassDeleteNotificationDisabled <Boolean>]
    [-MassDeleteNotificationDisabledForODB <Boolean>]
    [-MassDeleteNotificationDisabledForSPO <Boolean>]
    [-EnableAutoExpirationVersionTrim <Boolean>]
    [-EnableMediaReactions <Boolean>]
    [-BusinessConnectivityServiceDisabled <Boolean>]
    [-ExpireVersionsAfterDays <Int32>]
    [-MajorVersionLimit <Int32>]
    [-FileTypesForVersionExpiration <String[]>]
    [-RemoveVersionExpirationFileTypeOverride <String[]>]
    [-AllowSensitivityLabelOnRecords <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
    [-AllowClassicPublishingSiteCreation <Boolean>]
    [-WhoCanShareAnonymousAllowList <Guid[]>]
    [-WhoCanShareAuthenticatedGuestAllowList <Guid[]>]
    [-ResyncContentSecurityPolicyConfigurationEntries <Boolean>]
    [-ContentSecurityPolicyEnforcement <Boolean>]
    [-DelayContentSecurityPolicyEnforcement <Boolean>]
    [-DocumentUnderstandingModelScope <SyntexFeatureScopeValue>]
    [-DocumentUnderstandingModelSelectedSitesList <String[]>]
    [-DocumentUnderstandingModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelScope <SyntexFeatureScopeValue>]
    [-AIBuilderModelSelectedSitesList <String[]>]
    [-AIBuilderModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelSelectedSitesIncludesContentCenters <Boolean>]
    [-PrebuiltModelScope <SyntexFeatureScopeValue>]
    [-PrebuiltModelSelectedSitesList <String[]>]
    [-PrebuiltModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DocumentTranslationScope <SyntexFeatureScopeValue>]
    [-DocumentTranslationSelectedSitesList <String[]>]
    [-DocumentTranslationSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AutofillColumnsScope <SyntexFeatureScopeValue>]
    [-AutofillColumnsSelectedSitesList <String[]>]
    [-AutofillColumnsSelectedSitesListOperation <SelectedSitesListOperations>]
    [-KnowledgeAgentScope <KnowledgeAgentFeatureScopeValue>]
    [-KnowledgeAgentSelectedSitesList <String[]>]
    [-KnowledgeAgentSelectedSitesListOperation <SelectedSitesListOperations>]
    [-OpticalCharacterRecognitionScope <SyntexFeatureScopeValue>]
    [-OpticalCharacterRecognitionSelectedSitesList <String[]>]
    [-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DefaultContentCenterSite <String>]
    [-DefaultLanguageForSiteCreation <String>]
    [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
    [-EnforceRequestDigest <Boolean>]
    [-RestrictResourceAccountAccess <Boolean>]
    [-RestrictExternalSharingForAgents <Boolean>]
    [-AllowFileArchive <Boolean>]
    [-AllowFileArchiveByDefault <Boolean>]
    [-EnableNotificationsSubscriptions <Boolean>]
    [-IsFilePreviewDomainRestrictionEnabled <Boolean>]
    [-FilePreviewAllowedDomainList <String>]
    [-DisableTeamsMeetingRecordingDeletedNotification <Boolean>]
    [<CommonParameters>]

ParameterSetNameRestrictExternalSharing

Set-SPOTenant
    -RestrictExternalSharing <Guid[]>
    [-MinCompatibilityLevel <Int32>]
    [-MaxCompatibilityLevel <Int32>]
    [-ExternalServicesEnabled <Boolean>]
    [-NoAccessRedirectUrl <String>]
    [-ArchiveRedirectUrl <String>]
    [-SharingCapability <SharingCapabilities>]
    [-DisplayStartASiteOption <Boolean>]
    [-StartASiteFormUrl <String>]
    [-ShowEveryoneClaim <Boolean>]
    [-ShowAllUsersClaim <Boolean>]
    [-ShowEveryoneExceptExternalUsersClaim <Boolean>]
    [-AllowEveryoneExceptExternalUsersClaimInPrivateSite <Boolean>]
    [-SearchResolveExactEmailOrUPN <Boolean>]
    [-EnableAgentWorkerSharingDisclaimer <Boolean>]
    [-OfficeClientADALDisabled <Boolean>]
    [-LegacyAuthProtocolsEnabled <Boolean>]
    [-LegacyBrowserAuthProtocolsEnabled <Boolean>]
    [-AllowLegacyBrowserAuthProtocolsEnabledSetting <Boolean>]
    [-AllowLegacyAuthProtocolsEnabledSetting <Boolean>]
    [-DisableCustomAppAuthentication <Boolean>]
    [-IsSharePointAddInsDisabled <Boolean>]
    [-IsSharePointAddInsBlocked <Boolean>]
    [-DisableSharePointStoreAccess <Boolean>]
    [-SiteOwnerManageLegacyServicePrincipalEnabled <Boolean>]
    [-RequireAcceptingAccountMatchInvitedAccount <Boolean>]
    [-ProvisionSharedWithEveryoneFolder <Boolean>]
    [-SignInAccelerationDomain <String>]
    [-EnableGuestSignInAcceleration <Boolean>]
    [-UsePersistentCookiesForExplorerView <Boolean>]
    [-ReSyncTenantPrivacyProfile]
    [-BccExternalSharingInvitations <Boolean>]
    [-BccExternalSharingInvitationsList <String>]
    [-PublicCdnEnabled <Boolean>]
    [-PublicCdnAllowedFileTypes <String>]
    [-RequireAnonymousLinksExpireInDays <Int32>]
    [-OneDriveOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreOrganizationSharingLinkRecommendedExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkMaxExpirationInDays <Int32>]
    [-OneDriveAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-CoreAnyoneSharingLinkRecommendedExpirationInDays <Int32>]
    [-SharingAllowedDomainList <String>]
    [-SharingBlockedDomainList <String>]
    [-SharingDomainRestrictionMode <SharingDomainRestrictionModes>]
    [-OneDriveStorageQuota <Int64>]
    [-OneDriveForGuestsEnabled <Boolean>]
    [-IPAddressEnforcement <Boolean>]
    [-IPAddressAllowList <String>]
    [-IPAddressWACTokenLifetime <Int32>]
    [-EnableTenantRestrictionsInsights <Boolean>]
    [-EnablePromotedFileHandlers <Boolean>]
    [-UseFindPeopleInPeoplePicker <Boolean>]
    [-DefaultSharingLinkType <SharingLinkType>]
    [-ODBMembersCanShare <SharingState>]
    [-ODBAccessRequests <SharingState>]
    [-PreventExternalUsersFromResharing <Boolean>]
    [-ShowPeoplePickerSuggestionsForGuestUsers <Boolean>]
    [-AppOnlyBypassPeoplePickerPolicies <Boolean>]
    [-EnableDiscoverableByOrganizationForVideos <Boolean>]
    [-FileAnonymousLinkType <AnonymousLinkType>]
    [-FolderAnonymousLinkType <AnonymousLinkType>]
    [-NotifyOwnersWhenItemsReshared <Boolean>]
    [-NotifyOwnersWhenInvitationsAccepted <Boolean>]
    [-NotificationsInOneDriveForBusinessEnabled <Boolean>]
    [-NotificationsInSharePointEnabled <Boolean>]
    [-SelfServiceSiteCreationDisabled <Boolean>]
    [-SpecialCharactersStateInFileFolderNames <SpecialCharactersState>]
    [-OwnerAnonymousNotification <Boolean>]
    [-CommentsOnSitePagesDisabled <Boolean>]
    [-CommentsOnFilesDisabled <Boolean>]
    [-CommentsOnListItemsDisabled <Boolean>]
    [-ViewersCanCommentOnMediaDisabled <Boolean>]
    [-SocialBarOnSitePagesDisabled <Boolean>]
    [-SiteOwnersCanAccessMissingContent <Boolean>]
    [-OrphanedPersonalSitesRetentionPeriod <Int32>]
    [-PermissiveBrowserFileHandlingOverride <Boolean>]
    [-DisallowInfectedFileDownload <Boolean>]
    [-DefaultLinkPermission <SharingPermissionType>]
    [-CustomizedExternalSharingServiceUrl <String>]
    [-ConditionalAccessPolicyErrorHelpLink <String>]
    [-RestrictedAccessControlforSitesErrorHelpLink <String>]
    [-RestrictedAccessControlForOneDriveErrorHelpLink <String>]
    [-ApplyAppEnforcedRestrictionsToAdHocRecipients <Boolean>]
    [-FilePickerExternalImageSearchEnabled <Boolean>]
    [-EmailAttestationRequired <Boolean>]
    [-EmailAttestationReAuthDays <Int32>]
    [-SyncPrivacyProfileProperties <Boolean>]
    [-DisabledWebPartIds <Guid[]>]
    [-DisabledAdaptiveCardExtensionIds <Guid[]>]
    [-EnableMinimumVersionRequirement <Boolean>]
    [-MarkNewFilesSensitiveByDefault <SensitiveByDefaultState>]
    [-EnableAIPIntegration <Boolean>]
    [-SyncAadB2BManagementPolicy <Boolean>]
    [-AllowCommentsTextOnEmailEnabled <Boolean>]
    [-EnableAzureADB2BIntegration <Boolean>]
    [-DisableAddShortcutsToOneDrive <Boolean>]
    [-IncludeAtAGlanceInShareEmails <Boolean>]
    [-DisableWorkflow2010 <Boolean>]
    [-EnableAutoNewsDigest <Boolean>]
    [-StopNew2010Workflows <Boolean>]
    [-StopNew2013Workflows <Boolean>]
    [-StopAlerts <Boolean>]
    [-DisableBackToClassic <Boolean>]
    [-ExternalUserExpirationRequired <Boolean>]
    [-ExternalUserExpireInDays <Int32>]
    [-BlockDownloadLinksFileType <BlockDownloadLinksFileTypes>]
    [-AnyoneLinkTrackUsers <Boolean>]
    [-BlockAppAccessWithAuthenticationContext <Boolean>]
    [-OneDriveLoopDefaultSharingLinkScope <SharingScope>]
    [-OneDriveLoopDefaultSharingLinkRole <SharingRole>]
    [-OneDriveRequestFilesLinkEnabled <Boolean>]
    [-OneDriveRequestFilesLinkExpirationInDays <Int32>]
    [-OneDriveSharingCapability <SharingCapabilities>]
    [-OneDriveDefaultShareLinkScope <SharingScope>]
    [-OneDriveDefaultShareLinkRole <SharingRole>]
    [-OneDriveDefaultLinkToExistingAccess <Boolean>]
    [-OneDriveBlockGuestsAsSiteAdmin <SharingState>]
    [-CoreLoopDefaultSharingLinkScope <SharingScope>]
    [-CoreLoopDefaultSharingLinkRole <SharingRole>]
    [-CoreSharingCapability <SharingCapabilities>]
    [-AllowSharingOutsideRestrictedAccessControlGroups <Boolean>]
    [-CoreRequestFilesLinkEnabled <Boolean>]
    [-CoreRequestFilesLinkExpirationInDays <Int32>]
    [-CoreDefaultShareLinkScope <SharingScope>]
    [-CoreDefaultShareLinkRole <SharingRole>]
    [-CoreDefaultLinkToExistingAccess <Boolean>]
    [-CoreBlockGuestsAsSiteAdmin <SharingState>]
    [-AllowAnonymousMeetingParticipantsToAccessWhiteboards <SharingState>]
    [-Workflows2013Enabled <Boolean>]
    [-IsFluidEnabled <Boolean>]
    [-IsWBFluidEnabled <Boolean>]
    [-IsCollabMeetingNotesFluidEnabled <Boolean>]
    [-IsLoopEnabled <Boolean>]
    [-DisableDocumentLibraryDefaultLabeling <Boolean>]
    [-ExtendPermissionsToUnprotectedFiles <Boolean>]
    [-EnableSensitivityLabelForPDF <Boolean>]
    [-EnableSensitivityLabelForOneNote <Boolean>]
    [-EnableSensitivityLabelForVideoFiles <Boolean>]
    [-BlockSendLabelMismatchEmail <Boolean>]
    [-LabelMismatchEmailHelpLink <String>]
    [-BlockUserInfoVisibility <String>]
    [-BlockUserInfoVisibilityInOneDrive <TenantBrowseUserInfoPolicyValue>]
    [-BlockUserInfoVisibilityInSharePoint <TenantBrowseUserInfoPolicyValue>]
    [-AllowOverrideForBlockUserInfoVisibility <Boolean>]
    [-DisablePersonalListCreation <Boolean>]
    [-DisableSpacesActivation <Boolean>]
    [-DisableSpfxTopBottomPlaceholdersInElevatedContent <Boolean>]
    [-DisableVivaConnectionsAnalytics <Boolean>]
    [-InformationBarriersSuspension <Boolean>]
    [-IBImplicitGroupBased <Boolean>]
    [-AppBypassInformationBarriers <Boolean>]
    [-AppAccessInformationBarriersAllowList <Guid[]>]
    [-AllOrganizationSecurityGroupId <Guid>]
    [-DisableModernListTemplateIds <Guid[]>]
    [-EnableModernListTemplateIds <Guid[]>]
    [-HideSyncButtonOnTeamSite <Boolean>]
    [-AllowGuestUserShareToUsersNotInSiteCollection <Boolean>]
    [-StreamLaunchConfig <Int32>]
    [-DelegateRestrictedContentDiscoverabilityManagement <Boolean>]
    [-DelegateRestrictedAccessControlManagement <Boolean>]
    [-DisableOutlookPSTVersionTrimming <Boolean>]
    [-MediaTranscription <MediaTranscriptionPolicyType>]
    [-MediaTranscriptionAutomaticFeatures <MediaTranscriptionAutomaticFeaturesPolicyType>]
    [-ViewInFileExplorerEnabled <Boolean>]
    [-AuthContextResilienceMode <SPResilienceModeType>]
    [-ReduceTempTokenLifetimeEnabled <Boolean>]
    [-ReduceTempTokenLifetimeValue <Int32>]
    [-ShowOpenInDesktopOptionForSyncedFiles <Boolean>]
    [-ShowPeoplePickerGroupSuggestionsForIB <Boolean>]
    [-EnableRestrictedAccessControl <Boolean>]
    [-RestrictAccessControlForAgenticUser <Boolean>]
    [-BlockDownloadFileTypePolicy <Boolean>]
    [-BlockDownloadFileTypeIds <SPBlockDownloadFileTypeId[]>]
    [-ExcludedBlockDownloadGroupIds <Guid[]>]
    [-TlsTokenBindingPolicyValue <SPOTlsTokenBindingPolicyValue>]
    [-RecycleBinRetentionPeriod <Int32>]
    [-IsEnableAppAuthPopUpEnabled <Boolean>]
    [-IsDataAccessInCardDesignerEnabled <Boolean>]
    [-MassDeleteNotificationDisabled <Boolean>]
    [-MassDeleteNotificationDisabledForODB <Boolean>]
    [-MassDeleteNotificationDisabledForSPO <Boolean>]
    [-EnableAutoExpirationVersionTrim <Boolean>]
    [-EnableMediaReactions <Boolean>]
    [-BusinessConnectivityServiceDisabled <Boolean>]
    [-ExpireVersionsAfterDays <Int32>]
    [-MajorVersionLimit <Int32>]
    [-FileTypesForVersionExpiration <String[]>]
    [-RemoveVersionExpirationFileTypeOverride <String[]>]
    [-AllowSensitivityLabelOnRecords <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcement <Boolean>]
    [-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites <Boolean>]
    [-AllowClassicPublishingSiteCreation <Boolean>]
    [-WhoCanShareAnonymousAllowList <Guid[]>]
    [-WhoCanShareAuthenticatedGuestAllowList <Guid[]>]
    [-ResyncContentSecurityPolicyConfigurationEntries <Boolean>]
    [-ContentSecurityPolicyEnforcement <Boolean>]
    [-DelayContentSecurityPolicyEnforcement <Boolean>]
    [-DocumentUnderstandingModelScope <SyntexFeatureScopeValue>]
    [-DocumentUnderstandingModelSelectedSitesList <String[]>]
    [-DocumentUnderstandingModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelScope <SyntexFeatureScopeValue>]
    [-AIBuilderModelSelectedSitesList <String[]>]
    [-AIBuilderModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AIBuilderModelSelectedSitesIncludesContentCenters <Boolean>]
    [-PrebuiltModelScope <SyntexFeatureScopeValue>]
    [-PrebuiltModelSelectedSitesList <String[]>]
    [-PrebuiltModelSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DocumentTranslationScope <SyntexFeatureScopeValue>]
    [-DocumentTranslationSelectedSitesList <String[]>]
    [-DocumentTranslationSelectedSitesListOperation <SelectedSitesListOperations>]
    [-AutofillColumnsScope <SyntexFeatureScopeValue>]
    [-AutofillColumnsSelectedSitesList <String[]>]
    [-AutofillColumnsSelectedSitesListOperation <SelectedSitesListOperations>]
    [-KnowledgeAgentScope <KnowledgeAgentFeatureScopeValue>]
    [-KnowledgeAgentSelectedSitesList <String[]>]
    [-KnowledgeAgentSelectedSitesListOperation <SelectedSitesListOperations>]
    [-OpticalCharacterRecognitionScope <SyntexFeatureScopeValue>]
    [-OpticalCharacterRecognitionSelectedSitesList <String[]>]
    [-OpticalCharacterRecognitionSelectedSitesListOperation <SelectedSitesListOperations>]
    [-DefaultContentCenterSite <String>]
    [-DefaultLanguageForSiteCreation <String>]
    [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>]
    [-EnforceRequestDigest <Boolean>]
    [-RestrictResourceAccountAccess <Boolean>]
    [-RestrictExternalSharingForAgents <Boolean>]
    [-AddAppIdToList]
    [-RemoveAppIdFromList]
    [-AllowFileArchive <Boolean>]
    [-AllowFileArchiveByDefault <Boolean>]
    [-EnableNotificationsSubscriptions <Boolean>]
    [-IsFilePreviewDomainRestrictionEnabled <Boolean>]
    [-FilePreviewAllowedDomainList <String>]
    [-DisableTeamsMeetingRecordingDeletedNotification <Boolean>]
    [<CommonParameters>]

说明

你可以使用 Set-SPOTenant cmdlet 启用外部服务并指定可在其中创建网站集的版本。 也可以将 Set-SPOSite cmdlet 与 Set-SPOTenant cmdlet 搭配使用,来阻止他人访问你所在组织的网站并将流量重定向到另一个网站。

必须是 SharePoint Online 管理员才能运行 cmdlet。

示例

示例 1

Set-SPOSite -Identity https://contoso.sharepoint.com/sites/team1 -LockState NoAccess
Set-SPOTenant -NoAccessRedirectUrl 'https://www.contoso.com'

此示例会阻止他人访问 https://contoso.sharepoint.com/sites/team1 并将流量重定向至 https://www.contoso.com.

示例 2

Set-SPOTenant -ShowEveryoneExceptExternalUsersClaim $false

此示例将在人员选取器中隐藏“除外部用户外的任何人”声明。

示例 3

Set-SPOTenant -ShowAllUsersClaim $false

此示例将在人员选取器中隐藏“所有用户”声明组。

示例 4

Set-SPOTenant -UsePersistentCookiesForExplorerView $true

此示例支持将特殊的持久性 cookie 用于“使用资源管理器​​打开”。

示例 5

Set-SPOTenant -LegacyAuthProtocolsEnabled $True

此示例将在租户上启用旧身份验证协议。 这有助于在管理员用户收到诸如“无法联系网站https://contoso-admin.sharepoint.com/”之类的错误或网站不支持 SharePoint Online 凭据的情况下启用登录。 响应状态代码为“Unauthorized”。”之类的错误,且根本错误为“拒绝访问。 打开此位置的文件之前,必须先浏览到该网站,然后选中自动登录选项。”

示例 6

Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites

此示例将使内容类型中心能够将内容类型推送到所有 OneDrive for Business 网站。 其他网站的内容类型发布行为没有变化。

示例 7

Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate

此示例会阻止将内容类型发布到 OneDrive for Business 网站。

示例 8

Set-SPOTenant -SearchResolveExactEmailOrUPN $true

此示例会禁用除 SharePoint 管理员以外的所有用户的“以下列字符开头”搜索功能/所有 SharePoint 用户的部分名称搜索功能。

示例 9

Set-SPOTenant -UseFindPeopleInPeoplePicker $true

此示例使租户管理员能够支持 ODB 和 SPO 遵守人员选取器中的以下策略:Exchange 支持通讯簿策略 (ABP)。

示例 10

Set-SPOTenant -ShowPeoplePickerSuggestionsForGuestUsers $true

此示例启用了在租户级别搜索现有来宾用户的选项。

示例 11

Set-SPOTenant -EnableAutoExpirationVersionTrim $true

此示例在租户级别对所有新文档库设置自动版本历史记录限制。

示例 12

Set-SPOTenant -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 30

此示例通过限制主要版本的数量和版本) 保留天数 (时间,在租户级别对所有新文档库设置手动版本历史记录限制。

示例 13

Set-SPOTenant -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 0

此示例通过限制没有时间限制的主要版本数,在租户级别为所有新文档库设置手动版本历史记录限制。

示例 14

Set-SPOTenant -SharingDomainRestrictionMode "AllowList" -SharingAllowedDomainList "contoso.com fabrikam.com"

此示例允许用户仅与这些域中的外部协作者共享。

示例 15

Set-SPOTenant -SharingDomainRestrictionMode "BlockList" -SharingBlockedDomainList "contoso.com"

此示例允许用户与除 BlockedDomainList 上的协作者之外的所有外部协作者共享。

示例 16

Set-SPOTenant -EnableVersionExpirationSetting $true

该 EnableVersionExpirationSetting 参数不再处于活动状态,现在将自动为每个租户启用此功能。 设置为 EnableVersionExpirationSetting false 不会禁用该功能。 详细了解版本历史记录设置

示例 17

Set-SPOTenant -PrebuiltModelScope SelectedSites -PrebuiltModelSelectedSitesList "https://contoso.sharepoint.com/sites/site1","https://contoso.sharepoint.com/sites/site2" -PrebuiltModelSelectedSitesListOperation Append

此示例将预生成模型和 预生成文档处理 高级功能的 SelectedSites范围设置为 ,这会将该功能限制为仅包含在所选网站列表中的网站。 此示例还将两个站点追加到功能的所选站点列表。

使用这些参数要求租户设置所需的许可证或即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。

示例 18

Set-SPOTenant -DefaultContentCenterSite "https://contoso.sharepoint.com/sites/contentcenter"

此示例设置租户的默认内容中心。 仅当租户尚无指定的默认内容中心时,才能使用它。 若要了解有关内容中心的详细信息,请访问 在 Microsoft Syntex 中创建内容中心。

使用此参数要求租户设置所需的许可证或即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。

示例 19

$list = (Get-SPOTenant | Select-Object WhoCanShareAnonymousAllowList).WhoCanShareAnonymousAllowList
Set-SPOTenant –WhoCanShareAnonymousAllowList ($list + <new GUID>)

此示例将安全组追加到 WhoCanShareAnonymousAllowList。 类似的代码适用于 WhoCanShareAuthenticatedGuestAllowList。

示例 20

Set-SPOTenant –WhoCanShareAnonymousAllowList @()

此示例清空 WhoCanShareAnonymousAllowList。 类似的代码适用于 WhoCanShareAuthenticatedGuestAllowList。

示例 21

Set-SPOTenant -DisabledAdaptiveCardExtensionIds 0d2d0fd0-9489-47ef-acfb-90edca009cba

此示例禁用 Power Apps 自适应卡扩展。

示例 22

Set-SPOTenant -EnableAutoExpirationVersionTrim $true -FileTypesForVersionExpiration @("Video", "Audio")

此示例在租户级别为所有新文档库上的视频和音频文件类型设置自动版本历史记录限制替代。

示例 23

Set-SPOTenant -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 30 -FileTypesForVersionExpiration @("Video", "Audio")

此示例通过限制主要版本的数量 (和版本的保留时间(以天为单位),在租户级别为所有新文档库上的视频和音频文件类型设置手动版本历史记录限制替代) 。

示例 24

Set-SPOTenant -EnableAutoExpirationVersionTrim $false -MajorVersionLimit 500 -ExpireVersionsAfterDays 0 -FileTypesForVersionExpiration @("Video", "Audio")

此示例通过限制没有时间限制的主要版本数,在租户级别为所有新文档库上的视频和音频文件类型设置手动版本历史记录限制替代。

示例 25

Set-SPOTenant -RemoveVersionExpirationFileTypeOverride @("Video", "Audio")

此示例在租户级别的所有新文档库中删除为视频和音频文件类型设置的任何特定版本历史记录限制替代。

示例 26

Set-SPOTenant -IsFilePreviewDomainRestrictionEnabled $true -FilePreviewAllowedDomainList "contoso.com,fabrikam.com"

此示例将文件预览限制为指定的域。 启用域限制后,除了预定义的受信任Microsoft域 (例如 teams.microsoft.com) 之外,只能预览从列出的域嵌入的文件。

示例 27

Set-SPOTenant -IsFilePreviewDomainRestrictionEnabled $false

此示例禁用文件预览域限制。 之前配置的允许列表将保留但会被忽略,因此文件预览查看器可以从任何域加载内容。

示例 28

Set-SPOTenant -DefaultLanguageForSiteCreation "de-DE"

此示例将新 OneDrive 网站的默认语言设置为德语 (德国) 。 运行此命令后创建的新 OneDrive 网站将使用这种语言,而不是组织的 OneDrive 主机站点的语言。 要清除设置并返回到默认行为,请传递一个空字符串: Set-SPOTenant -DefaultLanguageForSiteCreation ""。

示例 29

Set-SPOTenant -RestrictAccessControlForAgenticUser $true
Get-SPOTenant | Select-Object RestrictAccessControlForAgenticUser

此示例限制代理用户访问组织中的所有站点,然后返回配置的值。 该策略在运行时强制执行,不会删除现有权限。

参数

-AddAppIdToList

适用:SharePoint Online

与 RestrictExternalSharing配对时,指示应将 GUID 添加到外部共享限制。

注意

此功能目前处于预览状态,可能在租户中不可用。

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

ParameterSetNameRestrictExternalSharing
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AIBuilderModelScope

适用:SharePoint Online

此参数允许管理员限制 AI 生成器模型以及 结构化和自由格式文档处理 高级功能在哪些 SharePoint 网站上可用。

有效值为:

  • NoSites:AI 生成器模型在任何网站上都不可用。
  • AllSites:AI 生成器模型在所有站点上可用。
  • SelectedSites:AI 生成器模型仅在功能的所选站点列表中可用。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。 使用此参数将清除当前 AI 生成器模型所选网站列表(如果存在)。

参数属性

类型:SyntexFeatureScopeValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AIBuilderModelSelectedSitesIncludesContentCenters

适用:SharePoint Online

此参数允许管理员选择 AI 生成器模型以及 结构化和自由格式文档处理 高级功能是否在所有内容中心网站上可用,即使这些功能未 SelectedSites 显式包含在所选网站列表中也是如此。 仅当 AI 生成器模型的范围设置为 SelectedSites时,才能调用此参数。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。

参数值: True |假

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AIBuilderModelSelectedSitesList

适用:SharePoint Online

此参数允许管理员传递 SharePoint 网站 URL 列表,以修改 AI 生成器模型以及 结构化和自由格式文档处理 高级功能的所选网站列表。 默认情况下,此参数使用用户输入列表覆盖现有列表。 此外,该 AIBuilderModelSelectedSitesListOperation 参数可用于指定其他操作。 仅当 AI 生成器模型的范围设置为 SelectedSites时,才能调用此参数。 输入的站点 URL 列表不能超过 100 项。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AIBuilderModelSelectedSitesListOperation

适用:SharePoint Online

通过此参数,管理员可以使用传递给AIBuilderModelSelectedSitesList参数的站点 URL 列表,指定要对 AI builder 模型以及结构化和自由格式文档处理高级功能的当前所选站点列表执行的操作。

有效值为:

  • Overwrite:覆盖现有的选定站点列表。 这是默认操作。
  • Append:将输入网站列表追加到现有的选定网站列表。
  • Remove:从现有的选定站点列表中删除站点的输入列表。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。 不带调用此参数不起 AIBuilderModelSelectedSitesList 作用。

参数属性

类型:SelectedSitesListOperations
默认值:Overwrite
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllOrganizationSecurityGroupId

适用:SharePoint Online

按对象 ID 设置 All-Organization 安全组。 然后将此组用于其他功能,例如如果启用,则“EnableDiscoverableByOrganizationForVideos”。 如果更改与 All-Organization 安全组关联的组 ID,则仅对新共享或权限事件有效。

参数属性

类型:System.Guid
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowAnonymousMeetingParticipantsToAccessWhiteboards

在 Teams 会议中共享白板时,Whiteboard 会创建一个共享链接。 组织内的任何人都可以访问此链接。 白板还与会议中的任何租户内用户共享。 无论默认设置如何,白板都使用公司可共享的链接共享。 计划支持默认共享链接类型。

在 Teams 会议期间,外部和共享设备帐户提供了更多临时协作的功能。 用户可以暂时查看在会议中共享的白板上并进行协作,其方式类似于 PowerPoint Live 共享。

在这种情况下,Whiteboard 仅在 Teams 会议期间在白板上提供临时查看和协作。 不会创建共享链接,Whiteboard 不会授予对文件的访问权限。

如果为 OneDrive for Business 启用了外部共享,则无需进一步操作。

如果限制 OneDrive for Business 的外部共享,则可以继续对其进行限制,只需启用此新设置,即可使外部和共享设备帐户正常工作。 有关详细信息,请参阅 管理 Microsoft Whiteboard 的共享。

参数属性

类型:Microsoft.SharePoint.Client.SharingState
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowClassicPublishingSiteCreation

适用:SharePoint Online

此参数允许创建经典发布网站集, (例如,使用 BLANKINTERNETCONTAINER#0 模板) 和激活网站中的经典发布功能。

有效值为:

  • False (默认) - 无法创建经典发布网站集,也无法在网站中激活发布功能。
  • True - 可以创建经典发布网站集,并且可以在网站中激活发布功能。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowCommentsTextOnEmailEnabled

适用:SharePoint Online

如果此参数为 true,则用户在被提及时收到的电子邮件通知将包含的文档上下文。 将其设置为 false 可禁用此功能。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowDownloadingNonWebViewableFiles

适用:SharePoint Online

此参数已被否决。

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowEditing

适用:SharePoint Online

阻止用户在浏览器中编辑 Office 文件,以及将 Office 文件内容复制和粘贴到浏览器窗口之外。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

ParamSetMultipleSites
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowEveryoneExceptExternalUsersClaimInPrivateSite

适用:SharePoint Online

当此参数为 true 时,“除外部用户之外的所有人”声明在专用网站的 People Picker 中可用。 将其设置为 false 可禁用此功能。

有效值为:

  • True - “除外部用户以外的所有人”声明在专用网站的 People Picker 中可用。
  • False (默认) - “除外部用户以外的所有人”声明在专用网站的选取器中People不可用。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowFileArchive

适用:SharePoint Online

控制是否允许在租户级别进行文件级存档。 对于特定网站,此设置可以被同名的网站级标志覆盖,除非为组织启用了 Microsoft 365 存档,否则不起作用。

有效值为:

  • True (默认) - 允许用户在同时启用了文件级存档的站点上手动存档文件。 手动存档仅限于对文件具有写入权限的内部用户。
  • False - 阻止手动存档所有文件,无论网站级设置如何。 管理员定义的策略仍可自动存档文件。

参数属性

类型:Boolean
默认值:True
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowFileArchiveOnNewSitesByDefault

适用:SharePoint Online

指定新创建的 SharePoint 网站的属性的 AllowFileArchive 默认值。 这确定新网站是否允许默认情况下文件级存档。 当此属性设置为 True 时,必须同时启用 Microsoft 365 存档和租户级别AllowFileArchive设置,手动存档才能正常工作。

有效值为:

  • True (默认) - 对于所有新预配的网站,设置为 AllowFileArchive True。 必须同时启用 Microsoft 365 存档和租户级别AllowFileArchive设置,手动存档才能在将来预配的站点上工作。
  • False - 对于所有新预配的站点,设置为 AllowFileArchive False。

参数属性

类型:Boolean
默认值:True
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowGuestUserShareToUsersNotInSiteCollection

适用:SharePoint Online

AllowGuestUserShareToUsersNotInSiteCollection 设置 (默认为 false) 将允许来宾与不在网站中的用户共享。

有效值为:

  • False (默认) - 来宾用户只能与当前站点中存在的用户共享。
  • True – 访客用户将能够通过键入与电子邮件地址匹配项来在目录中找到用户帐户。

注意:当值设置为 True 时,还需要启用 SharePoint 和 OneDrive 与 Microsoft Entra B2B 的集成,才能使该功能正常工作。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowOverrideForBlockUserInfoVisibility

适用:SharePoint Online

允许为 SharePoint 网站或 OneDrive 覆盖阻止用户信息可见性的组织级别策略。 使用 Set-SPOSite 替代 SharePoint 网站或 OneDrive 的策略。

有效值为:

  • False (默认) - 不允许为 SharePoint 网站或 OneDrive 覆盖“阻止用户信息可见性”策略。

  • True – 允许为 SharePoint 网站或 OneDrive 覆盖“阻止用户信息可见性”策略。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowSelectSecurityGroupsInSPSitesList

适用:SharePoint Online

允许特定安全组的成员访问 SharePoint 内容。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowSelectSGsInODBListInTenant

适用:SharePoint Online

允许特定安全组的成员访问 OneDrive 内容。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowSensitivityLabelOnRecords

适用:SharePoint Online

指定是否可以对记录应用敏感度标签。

有效值为:

  • False (默认) - 不允许对记录应用敏感度标签。
  • True – 允许对记录应用敏感度标签。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowSharingOutsideRestrictedAccessControlGroups

控制是否允许与受限访问控制策略不允许的用户和组共享 SharePoint 网站及其内容。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled

启用或禁用租户中所有站点中的 Web 属性包更新。 如果设置为 $true,即使AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled拒绝了站点集上的“添加和自定义页面”权限,也可以更新 Web 属性包。 参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AnyoneLinkTrackUsers

要求收件人使用电子邮件地址验证其身份,才能从“任何人”链接访问内容。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AppAccessInformationBarriersAllowList

获取或设置允许访问信息屏障、受保护站点和租户中的 OneDrive 帐户的第三方应用程序 ID (GUID) 的列表。 注意: 与此 cmdlet 关联的功能即将推出。

参数属性

类型:

System.Guid[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AppBypassInformationBarriers

控制在“仅限应用”模式下运行的应用程序是否可以访问受信息屏障保护的站点。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ApplyAppEnforcedRestrictionsToAdHocRecipients

适用:SharePoint Online

启用该功能后,所有来宾用户都将遵守条件访问策略。 默认情况下,使用密码访问 SharePoint Online 文件的来宾用户不受条件访问策略的约束。

有效值为:

  • False(默认值)- 来宾访问用户不受条件访问策略约束。
  • True - 条件访问策略也适用于来宾用户。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AppOnlyBypassPeoplePickerPolicies

适用:SharePoint Online

应用仅是否绕过人员选取器策略。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ArchiveRedirectUrl

适用:SharePoint Online

用于在存档错误页中联系管理员的 Url。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AuthContextResilienceMode

适用:SharePoint Online

身份验证上下文复原模式。

参数属性

类型:Microsoft.SharePoint.Administration.SPResilienceModeType
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AutofillColumnsScope

此参数允许管理员限制在哪些 SharePoint 网站上提供 自动填充列高级 功能。

有效值为:

  • NoSites:自动填充列在任何网站上都不可用。
  • AllSites:自动填充列在所有网站上可用。
  • SelectedSites:自动填充列仅在功能的所选站点列表中的站点上可用。

注意

使用此参数要求租户设置即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。 使用此参数将清除当前自动填充列的所选站点列表(如果存在)。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SyntexFeatureScopeValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AutofillColumnsSelectedSitesList

此参数允许管理员传递 SharePoint 网站 URL 列表以修改 自动填充列高级 功能的所选网站列表。 默认情况下,此参数使用用户输入列表覆盖现有列表。 此外,该 AutofillColumnsSelectedSitesListOperation 参数可用于指定其他操作。 仅当自动填充列的范围设置为 SelectedSites时,才能调用此参数。 输入的站点 URL 列表不能超过 100 项。

注意

使用此参数要求租户设置即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。

参数属性

类型:

System.String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-AutofillColumnsSelectedSitesListOperation

通过此参数,管理员可以使用传递给AutofillColumnsSelectedSitesList参数的站点 URL 列表,指定要对自动填充列高级功能的当前所选站点列表执行的操作。

有效值为:

  • Overwrite:覆盖现有的选定站点列表。 这是默认操作。
  • Append:将输入网站列表追加到现有的选定网站列表。
  • Remove:从现有的选定站点列表中删除站点的输入列表。

注意

使用此参数要求租户设置即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。 不带调用此参数不起 AutofillColumnsSelectedSitesList 作用。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SelectedSitesListOperations
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BccExternalSharingInvitations

适用:SharePoint Online

启用此功能后,发送的所有外部共享邀请都将密件抄送 BccExternalSharingsInvitationList 中列出的电子邮件。

有效值为:

  • False(默认值)- 禁止在外部共享中使用密件抄送。
  • True - 发送的所有外部共享邀请都将密件抄送 BccExternalSharingsInvitationList 中列出的电子邮件。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BccExternalSharingInvitationsList

适用:SharePoint Online

在启用针对外部共享的密件抄送功能后,指定要密件抄送的电子邮件地址列表。 可以通过创建以逗号分隔且中间没有空格的列表来指定多个地址。

有效值为:

  • ""(默认值)- 默认情况下为空,该设置也会清除已设置的任何值。
  • 单个或多个电子邮件地址 - joe@contoso.com 或 joe@contoso.com,bob@contoso.com

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BlockAppAccessWithAuthenticationContext

适用:SharePoint Online

是否通过身份验证上下文阻止应用访问。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BlockDownloadFileTypeIds

指定 BlockDownloadFileTypePolicy 应用到的文件类型 ID 列表。

有效值为:

  • TeamsMeetingRecording

参数属性

类型:

Microsoft.SharePoint.Client.Administration.SPBlockDownloadFileTypeId[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BlockDownloadFileTypePolicy

可以阻止从 SharePoint 或 OneDrive 下载 Teams 会议录制文件。 这使用户能够在解决意外数据丢失风险的同时保持高效。 用户仅有浏览器访问权限来播放会议录制内容,无法下载或同步文件或通过应用访问它们。

此策略适用于整个组织的新会议录制。 您可以从策略中排除属于指定安全组成员的人员。 这允许你指定应有权下载会议录制内容的治理或合规性专家。

启用该策略后,Teams 服务创建并保存在 SharePoint 和 OneDrive 中的任何新 Teams 会议录制文件都将被阻止下载。

由于此策略会影响存储在 OneDrive 和 SharePoint 中的会议录制,因此你必须是 SharePoint 管理员才能对其进行配置。

请注意,此策略不适用于手动上传的会议录制文件。 有关详细信息,请参阅 阻止从 SharePoint 或 OneDrive 下载 Teams 会议录制文件。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BlockDownloadLinksFileType

适用:SharePoint Online

有效值为:

  • WebPreviewableFiles
  • ServerRenderedFilesOnly

注意:ServerRendered(仅限 Office)和 WebPreviewable(所有受支持的文件)。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.BlockDownloadLinksFileTypes
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BlockSendLabelMismatchEmail

适用:SharePoint Online

当上传文档的标签与网站上的标签之间出现敏感度标签不匹配时,SharePoint Online 会捕获审核记录,并向上传文档的人员和网站所有者发送“检测到不兼容的敏感度标签”的电子邮件通知。 该通知包含导致该问题的文档的详细信息,以及分配给文档和网站的标签。 此比较发生在这两个标签的优先级之间。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BlockUserInfoVisibility

适用:SharePoint Online

此功能尚未在生产环境中推出。 在完全推出之前尝试设置此参数将导致错误消息。 有关此功能的更多详细信息将在发布时提供。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BlockUserInfoVisibilityInOneDrive

适用:SharePoint Online

如果用户仅对 OneDrive 具有受限访问权限,则阻止用户访问用户信息。 该策略适用于组织中的所有 OneDrive。

有效值为:

  • ApplyToNoUsers – 仅当用户具有受限访问权限时,不会阻止他们访问用户信息。

  • ApplyToAllUsers – 如果内部或外部) (所有用户仅具有“受限访问”权限,则无法访问用户信息。

  • ApplyToGuestAndExternalUsers (默认) - 只有外部用户或来宾用户仅具有受限访问权限时,才能阻止他们访问用户信息。

  • ApplyToInternalUsers - 仅当内部用户具有“受限访问”权限时,他们才能访问用户信息。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.TenantBrowseUserInfoPolicyValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BlockUserInfoVisibilityInSharePoint

适用:SharePoint Online

如果用户仅对 SharePoint 网站具有受限访问权限,则阻止用户访问用户信息。 该策略适用于组织中的所有 SharePoint 网站。

有效值为:

  • ApplyToNoUsers (默认) - 仅对 SharePoint 网站具有受限访问权限时,禁止用户访问用户信息。
  • ApplyToAllUsers – 如果内部或外部) (所有用户仅对 SharePoint 网站具有受限访问权限,则无法访问用户信息。
  • ApplyToGuestAndExternalUsers - 仅外部用户或来宾用户仅对 SharePoint 网站具有受限访问权限时,才能访问用户信息。
  • ApplyToInternalUsers - 仅当内部用户对 SharePoint 网站具有受限访问权限时,他们才能访问用户信息。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.TenantBrowseUserInfoPolicyValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-BusinessConnectivityServiceDisabled

适用:SharePoint Online

阻止访问依赖于 BCS) (业务连接 服务的功能,包括外部列表、外部列和外部内容类型。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CommentsOnFilesDisabled

适用:SharePoint Online

禁用或启用对文件的评论功能。 参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CommentsOnListItemsDisabled

适用:SharePoint Online

禁用或启用对列表项的评论功能。 参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CommentsOnSitePagesDisabled

适用:SharePoint Online

禁用或启用对网站页面的评论功能。 参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ConditionalAccessPolicy

适用:SharePoint Online

请在此处阅读控制来自非托管设备的访问》一文,了解 SharePoint Online 中的条件访问策略使用情况。

参数值:AllowFullAccess | AllowLimitedAccess | BlockAccess

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SPOConditionalAccessPolicyType
默认值:None
支持通配符:False
不显示:False

参数集

ParamSetMultipleSites
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

适用:SharePoint Online

条件访问策略阻止用户时的帮助链接。 该链接应采用有效的 URL 格式。 以 https:// 或 https:// 开头的有效 URL 格式。

类型:System.String
默认值:None
支持通配符:False
不显示:False
(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ContentSecurityPolicyEnforcement

控制是否启用内容安全策略。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ContentTypeSyncSiteTemplatesList

默认情况下,内容类型中心将不再将内容类型推送到 OneDrive for Business 网站(以前称为 MySites)。

如果你希望内容类型中心将内容类型推送到 OneDrive for Business 网站,请使用:Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites。

启用该功能后,内容类型中心会将内容类型推送到 OneDrive for Business 网站。

在启用将内容类型发布到 OneDrive for Business 网站的功能后,稍后可以使用 Set-SPOTenant -ContentTypeSyncSiteTemplatesList MySites -ExcludeSiteTemplate 禁用该功能。

参数属性

类型:

System.String[]

默认值:None
支持通配符:False
不显示:False

参数集

ParameterSetContentTypeSyncSiteTemplatesList
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreAnyoneSharingLinkMaxExpirationInDays

适用:SharePoint Online

指定所有 SharePoint 网站 (不包括 OneDrive 网站) 的匿名) 共享链接 (任何人都过期前的最大天数。 这是租户范围的设置,所有地理位置都将继承该策略。

该值可以是 1 到 730 天。

若要删除过期要求,请将此值设置为零 (0)。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreAnyoneSharingLinkRecommendedExpirationInDays

适用:SharePoint Online

指定所有 SharePoint 网站 (不包括 OneDrive 网站) 的匿名) 共享链接 (任何人都过期之前的建议天数。 此设置在用户创建共享链接时为用户提供建议的到期期限。 这是租户范围的设置,所有地理位置都将继承该策略。

该值可以是 1 到 730 天,并且必须小于或等于 由 设置 CoreAnyoneSharingLinkMaxExpirationInDays的最大到期值。

设置为 0 时,默认值将为 CoreAnyoneSharingLinkMaxExpirationInDays。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreBlockGuestsAsSiteAdmin

适用:SharePoint Online

是否在核心分区上阻止来宾作为站点管理员。

参数属性

类型:Microsoft.SharePoint.Client.SharingState
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreDefaultLinkToExistingAccess

如果设置为 True,则默认共享链接将是“具有现有访问权限的People”链接 (不会修改 SharePoint 网站的权限) 。 当设置为 False (默认) 时,默认共享链接类型由 CoreDefaultShareLinkScope 参数控制。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreDefaultShareLinkRole

此参数在 SharePoint 网站上设置默认共享链接角色。 它替换 DefaultLinkPermission.

有效值为:

  • None:未授予任何权限。
  • View:仅查看权限。
  • Edit:编辑权限。
  • Review:审阅权限。
  • RestrictedView:受限视图权限。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingRole
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreDefaultShareLinkScope

此参数设置 SharePoint 网站上的默认共享链接范围。 它替换 DefaultSharingLinkType.

有效值为:

  • Anyone:拥有链接的任何人都可以访问该内容。
  • Organization:只有组织内的人员才能访问内容。
  • SpecificPeople:只有 (用户) 指定的特定个人才能访问内容。
  • Uninitialized:默认值,指示未显式设置默认共享链接范围。

参数属性

类型:Microsoft.SharePoint.Client.Sharing.SharingScope
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreLoopDefaultSharingLinkRole

适用:SharePoint Online

此参数为 SharePoint 网站上的 Loop 和 Whiteboard 文件设置默认共享链接角色。

有效值为:

  • 编辑
  • 查看
  • 无
  • 审阅
  • RestrictedView

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingRole
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreLoopDefaultSharingLinkScope

适用:SharePoint Online

此参数为 SharePoint 网站上的 Loop 和 Whiteboard 文件设置默认共享链接范围。

有效值为:

  • 任何人
  • 组织
  • SpecificPeople
  • 未初始化

参数属性

类型:Microsoft.SharePoint.Client.Sharing.SharingScope
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreOrganizationSharingLinkMaxExpirationInDays

适用:SharePoint Online

指定所有 SharePoint 网站(不包括 OneDrive 网站) (的组织共享链接过期前的最大天数。 这是租户范围的设置,所有地理位置都将继承该策略。

该值可以是 7 到 720 天。

若要删除过期要求,请将此值设置为零 (0)。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreOrganizationSharingLinkRecommendedExpirationInDays

适用:SharePoint Online

为所有 SharePoint 网站指定组织共享链接过期前建议的天数, (不包括 OneDrive 网站) 。 此设置在用户创建共享链接时为用户提供建议的到期期限。 这是租户范围的设置,所有地理位置都将继承该策略。

该值可以是 7 到 720 天,并且必须小于或等于由 设置 CoreOrganizationSharingLinkMaxExpirationInDays的最大到期值。

设置为 0 时,默认值将为 CoreOrganizationSharingLinkMaxExpirationInDays。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreRequestFilesLinkEnabled

为所有 SharePoint 网站启用或禁用核心分区上的“请求文件”链接, (不包括 OneDrive 网站) 。 如果未设置此值,请求文件将仅在启用了“任何人”链接的 OneDrive 中显示。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreRequestFilesLinkExpirationInDays

指定所有 SharePoint 网站(不包括 OneDrive 网站) (请求文件链接过期前的天数。

该值可以是 0 到 730 天。

若要删除过期要求,请将此值设置为零 (0)。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CoreSharingCapability

确定可用于 SharePoint 网站的共享级别, (不包括 OneDrive 网站) 。

有效值为:

  • ExternalUserAndGuestSharing(默认值)- 同时启用外部用户共享(通过电子邮件共享)和来宾链接共享。
  • 已禁用 - 外部用户共享 (通过电子邮件共享) 和来宾链接共享均被禁用。
  • ExternalUserSharingOnly - 已启用外部用户共享 (通过电子邮件共享) ,但禁用来宾链接共享。
  • ExistingExternalUserSharingOnly - 仅限组织目录中已有的来宾。

有关共享的详细信息,请参阅管理 SharePoint Online 环境的 共享设置 。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingCapabilities
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CustomizedExternalSharingServiceUrl

适用:SharePoint Online

指定一个 URL,该 URL 将附加到用户被策略阻止在外部共享时显示的错误消息上。 此 URL 可用于将用户定向到内部门户,以便用户请求帮助或向用户说明你所在组织的策略。 一个示例值为 “https://www.contoso.com/sharingpolicies"。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DefaultContentCenterSite

此参数允许管理员通过提供内容中心的 URL 来为其租户设置默认内容中心站点(如果尚不存在)。 此处配置的内容中心是所有文档处理服务的默认内容中心。 内容中心所有者可以查看其中所有已应用模型的分析,成员可以构建企业模型。 有关详细信息,请访问 在 Microsoft Syntex 中创建内容中心。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。 设置指定的默认内容中心后,无法更改它。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DefaultLanguageForSiteCreation

适用:SharePoint Online

指定 SharePoint Online 在为组织创建新的 OneDrive 网站时使用的默认语言。 提供语言标记,如 en-US、 de-DE或 fr-FR。

设置此值时,将使用指定的语言创建新的 OneDrive 网站,而不是组织的 OneDrive 主机网站的语言。 必须为组织安装语言。 如果值为空,或者指定的语言不可用,则 SharePoint Online 使用 OneDrive 主机站点的语言。

此设置仅适用于在设置后创建的 OneDrive 网站。 它不会更改现有网站的语言。 要清除设置,请传递空字符串。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DefaultLinkPermission

适用:SharePoint Online

允许管理员在 OneDrive for Business 和 SharePoint Online 的共享对话框中选择链接的默认权限。 这适用于匿名访问、组织和特定人员链接。

有效值为“视图”和“编辑” (默认) 。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingPermissionType
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DefaultOneDriveInformationBarrierMode

DefaultOneDriveInformationBarrierMode 设置所有 OneDrive 站点的信息屏障模式。

有效值为:

  • 打开
  • Explicit
  • 隐式
  • OwnerModerated
  • 混合

有关信息屏障的详细信息,请参阅将 信息屏障与 SharePoint 配合用于 SharePoint Online 环境。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

InformationBarrier
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DefaultSharingLinkType

适用:SharePoint Online

允许管理员在 OneDrive for Business 和 SharePoint Online 的共享对话框中选择默认链接类型。

有关如何更改默认链接类型的其他信息,请参阅“当用户获取用于共享的链接时更改默认链接类型”。

注意

如果将此值设为“none”,将默认针对许可程度最高的可用链接执行“获取链接”操作(即,如果启用匿名链接,将默认链接为匿名访问链接;如果禁用匿名链接,则默认链接为内部链接。

有效值为:

  • 无 - 使用其他共享设置允许的最广泛的共享范围
  • Direct - 将此网站的默认共享链接设置为“特定人员”链接
  • 内部 - 设置此网站到组织链接的默认共享链接
  • AnonymousAccess - 将此网站的默认共享链接设置为“匿名访问”或“任何人”链接

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingLinkType
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DelayContentSecurityPolicyEnforcement

适用:SharePoint Online

此参数允许管理员将 内容安全策略检查的实施 从 2026 年 3 月 1 日延迟到 2026 年 6 月 1 日。

有效值为:

  • False - 内容安全强制检查将于 2026 年 3 月 1 日开始。
  • True - 内容安全强制检查将于 2026 年 6 月 1 日开始。

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DelayDenyAddAndCustomizePagesEnforcement

适用:SharePoint Online

是否延迟强制执行自定义脚本设置。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DelayDenyAddAndCustomizePagesEnforcementOnClassicPublishingSites

此参数控制 SharePoint 如何处理允许自定义脚本 (模板 BLANKINTERNETCONTAINER#0、CMSPUBLISHING#0 和 BLANKINTERNET#0 的经典发布网站) 。

有效值为:

  • False (默认) - 对于管理员启用了添加自定义脚本功能的经典发布网站集,SharePoint 将在上次更改此设置后的 24 小时内撤销该功能。
  • True - 保留管理员对自定义脚本设置执行的所有更改。

注意

此设置会影响所有经典发布网站 (模板 BLANKINTERNETCONTAINER#0、CMSPUBLISHING#0 和 BLANKINTERNET#0) 。 没有选项可以仅在某些特定网站上保留对自定义脚本设置的更改。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DelegateRestrictedAccessControlManagement

适用:SharePoint Online

允许 SharePoint 管理员将网站上受限访问控制策略的管理委托给网站管理员和所有者。

有效值为:

  • True - 允许网站管理员和所有者管理受限访问控制策略
  • False (默认) - 不允许网站管理员和所有者管理受限访问控制策略

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DelegateRestrictedContentDiscoverabilityManagement

适用:SharePoint Online

允许 SharePoint 管理员将网站上受限内容可发现性策略的管理委派给网站管理员和所有者。

有效值为:

  • True - 允许网站管理员和所有者管理受限内容可发现性策略
  • False (默认) - 不允许网站管理员和所有者管理受限内容可发现性策略

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DenySelectSecurityGroupsInSPSitesList

适用:SharePoint Online

限制特定安全组的成员访问 SharePoint 内容。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DenySelectSGsInODBListInTenant

适用:SharePoint Online

限制特定安全组的成员访问 OneDrive 内容。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableAddShortcutsToOneDrive

适用:SharePoint Online

如果禁用此功能 ($true),将删除选项“向“我的文件”添加快捷方式”;已添加的任何文件夹都将保留在用户的计算机上。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableBackToClassic

启用或禁用新式 SharePoint 列表和库页面上的“返回到经典 SharePoint”链接。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableCustomAppAuthentication

适用:SharePoint Online

阻止使用Azure 访问控制 (ACS) 仅限应用的访问令牌访问 SharePoint 的应用。 ACS 是 Microsoft Entra ID 的一项服务,已于 2018 年 11 月 7 日停用。 此停用不会影响 SharePoint 加载项模型,该模型使用 https://accounts.accesscontrol.windows.net 不受此停用) 影响的主机名 (。 对于新租户,默认情况下禁用使用 ACS 仅应用访问令牌的应用。 建议使用最新且更安全的仅 Microsoft Entra 应用模型。 请注意,将此属性标记为 $true 不会阻止在 SharePoint 中创建使用 Azure 访问控制 (ACS) 仅应用访问令牌的应用。 将此属性标记为 $true只会确保此类应用无法再访问 SharePoint。

接受值为 true 或 false。 默认情况下,此功能设置为 true。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisabledAdaptiveCardExtensionIds

适用:SharePoint Online

允许管理员阻止将某些自适应卡扩展添加到页面或在之前添加它们的页面上呈现。 目前,只能通过这种方式禁用以下自适应卡扩展:

自适应卡扩展名称 GUID
Power Apps 0d2d0fd0-9489-47ef-acfb-90edca009cba

若要禁用特定的自适应卡扩展,需要输入其 GUID 作为参数。 若要查看已禁用的自适应卡扩展的列表,请使用 Get-SPOTenant 获取 DisabledAdaptiveCardExtensionIds.

若要重新启用某些已禁用的自适应卡扩展,请将 Set-SPOTenant 与仍要保持禁用的参数和相应的 GUID 一起使用 -DisabledAdaptiveCardExtensionIds 。 若要重新启用所有已禁用的自适应卡扩展,请使用 Set-SPOTenant -DisabledAdaptiveCardExtensionIds @()。

参数属性

类型:

System.Guid[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableDocumentLibraryDefaultLabeling

适用:SharePoint Online

此开关允许租户管理员禁用为文档库配置默认敏感度标签的功能。

参数值: True |假

注意

设置为 $true 时,用户无法为文档库应用默认敏感度标签。 默认值为 false。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisabledWebPartIds

适用:SharePoint Online

允许管理员阻止将某些 Web 部件添加到页面中或在以前添加它们的页面上呈现。 目前,只能通过这种方式禁用以下 Web 部件:

  • 亚马逊 Kindle:46698648-fcd5-41fc-9526-c7f7b2ace919
  • YouTube:544dd15b-cf3c-441b-96da-004d5a8cea1d
  • Twitter:f6fdf4f8-4a24-437b-a127-32e66a5dd9b4
  • 嵌入:490d7c76-1824-45b2-9de3-676421c997fa
  • Microsoft Bookings:d24a7165-c455-4d43-8bc8-fedb04d6c1b5
  • Stream: 275c0095-a77e-4f6d-a2a0-6a7626911518

若要禁用特定 Web 部件,需要输入其 GUID 作为参数。 可以通过使用逗号分隔多个 GUID 来输入它们,例如 Set-SPOTenant -DisabledWebPartIds 46698648-fcd5-41fc-9526-c7f7b2ace919,544dd15b-cf3c-441b-96da-004d5a8cea1d。 若要查看已禁用 Web 部件的列表,请使用 Get-SPOTenant 获取 DisabledWebPartIds。

若要重新启用某些已禁用的 Web 部件,请将 Set-SPOTenant 与 -DisabledWebPartIds 参数以及仍要继续禁用的相应 GUID 配合使用。 若要重新启用所有已禁用的 Web 部件,请使用 Set-SPOTenant -DisabledWebPartIds @()。

参数属性

类型:

System.Guid[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableModernListTemplateIds

指定未在租户中启用的新式模板 ID 列表。

若要将此列表设置为特定的安全组,需要输入其 GUID 作为参数。 可以通过使用逗号分隔多个 GUID 来输入它们。 若要查看当前列表,请使用 ./Get-SPOTenant.md。

参数属性

类型:

System.Guid[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableOutlookPSTVersionTrimming

适用:SharePoint Online

此参数无效,它用于选择退出 PST 文件保留策略更改,如 2021 年 5 月MC256835 () 中传达的那样。 从 2021 年 8 月 16 日开始,该服务开始为存储在 OneDrive for Business 和 SharePoint Online 团队网站文档库中的任何 PST 文件保留 30 天的版本。 引入此更改是为了防止早期版本的 PST 文件快速占用可用存储空间。 此变更仅影响存储在文档库存储空间中的以前版本的 PST 文件。 最好不要向 OneDrive for Business 和 SharePoint Online 团队网站文档库上传 PST 文件,因为这会对存储空间和网络带宽造成影响。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisablePersonalListCreation

控制用户是否可以创建个人列表。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableSharePointStoreAccess

适用:SharePoint Online

此功能允许 SharePoint 管理员为租户中的所有用户禁用 SharePoint 应用商店访问权限。

接受值 true (启用) 隐藏 SharePoint 应用商店,或接受 false (禁用) 以显示 SharePoint 应用商店。 默认情况下,此功能设置为 false。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableSpacesActivation

控制 SharePoint 空间激活。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableSpfxTopBottomPlaceholdersInElevatedContent

适用:SharePoint Online

此功能允许 SharePoint 管理员控制 SPFx 顶部和底部占位符相对于提升内容的呈现位置。

接受值 true 以在提升的内容区域之外呈现顶部和底部占位符,或接受 false 值以将它们呈现在提升的内容区域内。 默认情况下,此功能设置为 false。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableTeamsMeetingRecordingDeletedNotification

适用:SharePoint Online

这是一项可选设置,可在租户级别的 Teams 会议录制文件过期后删除时启用或禁用发送电子邮件通知。

参数值: True |假

参数属性

类型:System.Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableVivaConnectionsAnalytics

控制是否启用 Viva Connections 分析功能。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisableWorkflow2010

控制是否启用 Workflow 2010。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisallowInfectedFileDownload

适用:SharePoint Online

阻止在“发现病毒”警告页面上显示“下载”按钮。

接受值 true(已启用)以隐藏“下载”按钮或 false(已禁用)以显示“下载”下载按钮。 默认情况下,此功能设置为 false。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DisplayStartASiteOption

适用:SharePoint Online

确定租户用户是否可以看到“启动网站”菜单选项。

有效值为:

  • True(默认值)- 租户用户将看到“启动网站”菜单选项。
  • False - 从菜单中隐藏“启动网站”。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DocumentTranslationScope

此参数允许管理员限制 文档翻译 高级功能在哪些 SharePoint 网站上可用。

有效值为:

  • NoSites:文档翻译在任何网站上都不可用。
  • AllSites:所有网站均提供文档翻译。
  • SelectedSites:文档翻译仅在功能所选站点列表中的站点上可用。

注意

使用此参数要求租户设置即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。 使用此参数将清除当前文档翻译所选站点列表(如果存在)。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SyntexFeatureScopeValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DocumentTranslationSelectedSitesList

此参数允许管理员传递 SharePoint 网站 URL 列表以修改 文档翻译 高级功能的所选网站列表。 默认情况下,此参数使用用户输入列表覆盖现有列表。 此外,该 DocumentTranslationSelectedSitesListOperation 参数可用于指定其他操作。 仅当文档翻译的范围设置为 SelectedSites时,才能调用此参数。 输入的站点 URL 列表不能超过 100 项。

注意

使用此参数要求租户设置即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。

参数属性

类型:

System.String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DocumentTranslationSelectedSitesListOperation

此参数允许管理员使用传递给DocumentTranslationSelectedSitesList参数的站点 URL 列表指定要对文档翻译高级功能的当前所选站点列表执行的操作。

有效值为:

  • Overwrite:覆盖现有的选定站点列表。 这是默认操作。
  • Append:将输入网站列表追加到现有的选定网站列表。
  • Remove:从现有的选定站点列表中删除站点的输入列表。

注意

使用此参数要求租户设置即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。 不带调用此参数不起 DocumentTranslationSelectedSitesList 作用。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SelectedSitesListOperations
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DocumentUnderstandingModelScope

此参数允许管理员限制文档理解模型和 非结构化文档处理 高级功能在哪些 SharePoint 网站上可用。

有效值为:

  • NoSites:文档理解模型在任何网站上都不可用。
  • AllSites:文档理解模型在所有网站上可用。
  • SelectedSites:文档理解模型仅在功能的所选站点列表中的站点上可用。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。 使用此参数将清除当前文档理解模型所选站点列表(如果存在)。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SyntexFeatureScopeValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DocumentUnderstandingModelSelectedSitesList

此参数允许管理员传递 SharePoint 网站 URL 列表,以修改文档理解模型和 非结构化文档处理 高级功能的所选网站列表。 默认情况下,此参数使用用户输入列表覆盖现有列表。 此外,该 DocumentUnderstandingModelSelectedSitesListOperation 参数可用于指定其他操作。 仅当文档理解模型的范围设置为 SelectedSites时,才能调用此参数。 输入的站点 URL 列表不能超过 100 项。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。

参数属性

类型:

System.String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DocumentUnderstandingModelSelectedSitesListOperation

通过此参数,管理员可以使用传递给DocumentUnderstandingModelSelectedSitesList参数的站点 URL 列表,指定要对文档理解模型和非结构化文档处理高级功能的当前选定站点列表执行的操作。

有效值为:

  • Overwrite:覆盖现有的选定站点列表。 这是默认操作。
  • Append:将输入网站列表追加到现有的选定网站列表。
  • Remove:从现有的选定站点列表中删除站点的输入列表。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。 不带调用此参数不起 DocumentUnderstandingModelSelectedSitesList 作用。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SelectedSitesListOperations
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EmailAttestationReAuthDays

适用:SharePoint Online

设置电子邮件证明重新身份验证的天数。 该值可以是 1 到 365 天。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EmailAttestationRequired

适用:SharePoint Online

将电子邮件证明设置为必需。

如果使用验证码的用户选择在浏览器中“保持登录”,则必须证明他们仍然可以访问用于兑换共享邀请的帐户。 你可以使用 -EmailAttestationReAuthDays 来设置电子邮件证明的天数。 此设置仅影响临时外部接收人。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableAgentWorkerSharingDisclaimer

适用:SharePoint Online

注意

此功能目前处于预览状态,可能在租户中不可用。

这是一个租户级别开关,使管理员能够允许最终用户在与代理工作人员或 AI 团队成员共享网站或内容时查看免责声明消息。

参数值: True |假

参数属性

类型:System.Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableAIPIntegration

适用:SharePoint Online

此参数使 SharePoint 能够使用包含加密的敏感度标签处理存储在 SharePoint 和 OneDrive 中的文件的内容。 有关详细信息,请参阅启用 SharePoint 和 OneDrive 中 Office 文件的敏感度标签。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableAutoExpirationVersionTrim

全局和 SharePoint 管理员可以设置组织级别的版本历史记录限制设置,这些设置普遍适用于在组织中创建的所有新文档库上创建的新版本。

自动管理版本历史记录限制时,SharePoint 会在后台采用一种算法,删除 (精简) 最不可能需要的间歇性较旧版本,同时保留足够的高价值版本(较多的是最近过去的版本,较少是更远的版本),以备需要还原时使用。

有效值为:

  • True – 将自动管理在组织中的所有新文档库中创建的新版本的版本历史记录限制。
  • False – 通过设置主要版本数 () MajorVersionLimit 和) 设置的时间限制,将手动管理在组织中所有新文档库中创建的新版本的版本历史记录限制 (ExpireVersionsAfterDays 。 查看这两个参数的文档,以手动管理组织的版本限制。

注意

当版本历史记录限制是手动管理 (EnableAutoExpirationVersionTrim $false) 时, MajorVersionLimitExpireVersionsAfterDays 它们都是具有以下可接受值的必需参数:a. MajorVersionLimit 接受 1 到 50,000 之间的值 (包含) 。 b. ExpireVersionsAfterDays 接受值为 0 到“永不过期”,或 >值 = 30 可删除超过该时间段的版本。 在) (EnableAutoExpirationVersionTrim $true 自动管理版本历史记录限制时,设置 MajorVersionLimit OR ExpireVersionsAfterDays 将导致错误,因为计数限制是由服务设置的。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableAutoNewsDigest

适用:SharePoint Online

启用或禁用自动新闻摘要。 有关自动新闻摘要的文档。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableAzureADB2BIntegration

适用:SharePoint Online

启用 OneDrive 和 SharePoint 与 Microsoft Entra B2B 的集成。 有关详细信息,请参阅 SharePoint 和 OneDrive 与 Microsoft Entra B2B 的集成。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableDiscoverableByOrganizationForVideos

设置为 true 时,允许用户使用 “AllOrganizationSecurityGroupId” 中定义的安全组轻松地与整个公司共享视频。 如果此安全组未定义,则“可按公司发现视频”功能将保持隐藏状态。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableGuestSignInAcceleration

适用:SharePoint Online

设置 SignInAccelerationDomain 参数后,会加速支持来宾的网站集和仅限成员的网站集。

注意

如果启用,标识提供程序必须能够对来宾用户进行身份验证。 如果未启用,来宾用户将无法登录并访问与他们共享的内容。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableMediaReactions

控制是否启用媒体反应。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableMinimumVersionRequirement

适用:SharePoint Online

此参数用于选择退出版本控制设置更新。 该参数至今尚未发挥作用,因为版本控制设置已经推出。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableModernListTemplateIds

指定在租户中启用的现代模板 ID 的列表。

若要将此列表设置为特定的安全组,需要输入其 GUID 作为参数。 可以通过使用逗号分隔多个 GUID 来输入它们。 若要查看当前列表,请使用 ./Get-SPOTenant.md。

参数属性

类型:

System.Guid[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableNotificationsSubscriptions

适用:SharePoint Online

这是一个可选设置,可启用或禁用将 SharePoint 新闻和公告通知数据写入每个用户的“我的网站”中的 NewsNotificationList) (列表中。 启用后,SharePoint Online 会向此列表发出通知事件。 第三方解决方案必须创建和管理 Webhook 解决方案才能接收更改通知,然后读取列表以处理新条目,以便为用户触发自己的通知。 这适用于 SharePoint 新闻通知 和 Viva Connections 公告。

参数值: True |假

参数属性

类型:System.Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnablePromotedFileHandlers

适用:SharePoint Online

此参数已保留,供 Microsoft 内部使用。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableRestrictedAccessControl

允许你和其他全局管理员或 SharePoint 管理员限制对网站的访问。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableSensitivityLabelforOneNote

适用:SharePoint Online

允许租户管理员为以下场景启用对 OneNote 中带有敏感度标签的分区的支持:

  • 在 OneNote 中跨终结点手动应用敏感度标签。

有效值为:

  • True - 启用对 OneNote 文件的支持。
  • False (default) - 禁用对 OneNote 文件的支持。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableSensitivityLabelforPDF

适用:SharePoint Online

允许租户管理员在以下场景中启用对带有敏感度标签的 PDF 的支持:

  • 在 Office 网页版中应用敏感度标签。
  • 上传带标签的文档,然后提取并显示该敏感度标签。
  • 搜索、电子数据展示和数据丢失防护。
  • SharePoint 文档库的自动标记策略和默认敏感度标签。

有效值为:

  • True - 启用对 PDF 的支持。
  • False (default) - 禁用对 PDF 的支持。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableSensitivityLabelforVideoFiles

适用:SharePoint Online

控制 SharePoint 和 OneDrive 中 MP4 视频文件的敏感度标签支持,包括以下方案:

  • 将敏感度标签应用于 MP4 文件。
  • 提取敏感度标签并显示上传的 MP4 文件。

有效值为:

  • True - 启用对 MP4 文件的敏感度标签支持。
  • False (default) - 禁用对 MP4 文件的敏感度标签支持。

一项更新将此参数扩展到 Clipchamp 项目标签和 MP4 导出上的标签继承。 本节介绍更新前后的行为。

注意

消息中心发布 MC1454399 中宣布的更新将于 2026 年 9 月中旬在全球推出,预计于 2026 年 10 月中旬完成。 该计划不确认单个租户的可用性。

在更改到达租户之前,EnableSensitivityLabelForVideoFiles不会控制 Clipchamp 编辑器中的项目标签。 即使值为 $false,Clipchamp 也可以将组织的默认敏感度标签应用于项目,并且 MP4 导出可以继承项目的标签。

更改到达租户后,以下行为也适用于 .clipchamp 项目:

推出后的价值和项目状态 项目标签和导入的媒体 新的 MP4 导出
$true 将应用组织的默认标签策略。 支持的标签更改和导入受标签、保护和权限检查的约束。 继承项目的标签(如果已应用)。
$false,项目未标记 没有默认标签或标签更改;选取器处于隐藏状态。 导入受支持的受保护或非受保护的标记媒体需要确认项目及其导出均不继承源标签。 不要从项目继承标签。
$false,项目已具有有效标签 现有标签和限制保留,但标签更改将被阻止。 导入将保留与 for 相同的 $true检查,但需要项目标签升级的导入将被阻止。 不要从该标签继承项目标签或限制。 在导出不带标签的视频之前,Clipchamp 会发出警告。 用户仍需要导出项目的权限。

用户必须仍具有访问和使用源媒体的权限。 更改到达租户后,当值为 $false时,用户可以从 Clipchamp 共享或下载新导出的未标记 MP4 视频,但需遵守其他权限和策略。 这不会删除项目中的限制或更改以前导出的 MP4 文件。 将值$true设置为不会删除 Clipchamp 对支持的标签更改的现有限制。

对于 Microsoft 365 多地理位置,请连接到每个地理位置并单独配置设置。 在更改之前,请先查看对组织视频工作流的影响。 有关详细信息,请参阅 MP4 文件和 Clipchamp 项目的视频支持。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableTenantRestrictionsInsights

适用:SharePoint Online

是否启用租户限制策略见解。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnableVersionExpirationSetting

适用:SharePoint Online

该 EnableVersionExpirationSetting 参数不再处于活动状态,现在将自动为每个租户启用此功能。 详细了解版本历史记录设置

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnforceContentSecurityPolicyConfiguration

适用:SharePoint Online

如果设置为“内容安全策略”True,则将强制实施违反策略。 在多地理位置环境中, 内容安全策略 配置对于每个地理位置都是唯一的。

参数值: True |假

参数属性

类型:Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-EnforceRequestDigest

设置为 True 有效请求时,执行状态更改操作的 SOAP API 调用需要摘要。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ExcludedBlockDownloadGroupIds

将指定组中的用户从阻止下载策略中排除,并且他们可以完全下载网站的任何内容。

若要将此列表设置为特定的安全组,需要输入其 GUID 作为参数。 可以通过使用逗号分隔多个 GUID 来输入它们。 若要查看当前列表,请使用 ./Get-SPOTenant.md。

参数属性

类型:

System.Guid[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ExcludeSiteTemplate

从内容类型中心内容类型同步中排除指定的模板。 必须与 -ContentTypeSyncSiteTemplatesList [String[]] 一起使用。

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

ParameterSetContentTypeSyncSiteTemplatesList
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ExemptNativeUsersFromTenantLevelRestricedAccessControl

适用:SharePoint Online

获取或设置设置的值,该设置确定本机标识用户是否应免于租户级别的受限访问控制策略。

参数值: True |假

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ExpireVersionsAfterDays

手动管理版本历史记录限制 (EnableAutoExpirationVersionTrim $false) 时,管理员需要将限制设置为 (MajorVersionLimit) 的主要版本数以及版本存储 (ExpireVersionsAfterDays) 的时间段。 详情请检查的EnableAutoExpirationVersionTrim说明。

参数值:Int32

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ExtendPermissionsToUnprotectedFiles

此属性可用于打开/关闭名为“对未受保护文件的扩展 SharePoint 权限”的功能。 若要了解有关此功能的详细信息,请检查此处

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ExternalServicesEnabled

适用:SharePoint Online

为租户启用外部服务。 外部服务是指不在 Office 365 数据中心内的服务。

有效值为:

  • True(默认值)- 为租户启用外部服务。
  • False - 处于 Office 365 数据中心之外的外部服务无法与 SharePoint 交互。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ExternalUserExpirationRequired

适用:SharePoint Online

指定是否启用外部用户过期策略,在启用该策略的情况下,外部用户将在指定天数后过期并从网站集中删除。

注意:启用该策略后,系统将会在外部用户加入网站集时(通过共享链接或直接访问)设置过期值。 禁用该策略后,系统将不再为用户设置过期值,但不会自动清除对现有用户设置的过期值。 然后,用户可以根据需要要求网站集管理员清除其过期值。

有效值为:True - 启用该策略。 False(默认值)- 禁用该策略。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ExternalUserExpireInDays

适用:SharePoint Online

指定外部用户将在多少天后过期并从网站集中删除(如果启用了相应策略)。 该值可以是 30 到 730 天。

参数属性

类型:Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-FileAnonymousLinkType

适用:SharePoint Online

匿名访问链接可允许接收人仅查看或进行查看和编辑。 可为文件夹和文件单独设置该值。

有效值为:

  • View
  • 编辑

参数属性

类型:Microsoft.SharePoint.Client.AnonymousLinkType
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-FilePickerExternalImageSearchEnabled

适用:SharePoint Online

对于支持插入图像的 Web 部件(例如图像或主图 Web 部件),将可以使用 Web 搜索(由必应提供支持)选项,前提是已启用该选项(默认值)。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-FilePreviewAllowedDomainList

适用:SharePoint Online

指定文件预览查看器在呈现 PDF、图像、Office、文档和其他受支持的文件类型 () 时从中加载内容的域列表。 使用逗号字符作为输入多个值的分隔符。 例如,"contoso.com,fabrikam.com"。

禁用该限制后,将保留但忽略列表,并且文件预览查看器可以从任何域加载内容。 启用该限制后,如果未指定此参数,将使用一组预定义的允许域 (,例如 teams.microsoft.com) 。 如果已指定,则提供的域将追加到默认集,而不是替换它。

域条目必须是完全限定的域名, (例如 contoso.com) ,并以逗号分隔的列表形式提供。 将剪裁每个条目,并忽略空值。 不允许使用裸通配符 * 。 仅在最左侧的标签中允许使用通配符,因为它 *.contoso.com为 . 例如,无效的通配符模式 (, contoso.* 或 a*b.com) 被拒绝。 使用区分大小写的比较删除重复条目。 该列表最多可以包含 500 个域。

参数属性

类型:String
默认值:String.Empty
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-FileTypesForVersionExpiration

文件类型名称的数组。 支持的文件类型名称为:

  • 音频
  • OutlookPST
  • 视频

将版本历史记录限制应用于一组文件类型,使其不再遵循默认版本历史记录限制。 它与以下参数结合使用:

版本历史记录限制应用于租户中的新文档库。

注意

此功能目前处于预览状态,可能在租户中不可用。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-FolderAnonymousLinkType

适用:SharePoint Online

用户可以配置文件夹匿名访问链接,允许收件人查看、查看和上传,或查看、编辑和上传文件。

有效值为:

  • 查看
  • ViewUpload
  • 编辑

参数属性

类型:Microsoft.SharePoint.Client.AnonymousLinkType
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-HideSyncButtonOnTeamSite

设置为 true 时,将关闭组织中所有 SharePoint 库的 OneDrive 同步。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IBImplicitGroupBased

IBImplicitGroupBased 设置为所有隐式模式网站启用基于 Microsoft 365 组成员身份的访问和共享控制。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IncludeAtAGlanceInShareEmails

适用:SharePoint Online

在共享电子邮件时启用或禁用“概览”功能。 此时会提供共享项的阅读要点和时间(如果可用)。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-InformationBarriersSuspension

当 InformationBarriersSuspension 参数设置为 $false 时,将启用 SharePoint 和 OneDrive 中的信息屏障;如果设置为 $true,则将其禁用。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IPAddressAllowList

适用:SharePoint Online

配置多个受信任的 IP 地址或 IP 地址范围(IPv4 或 IPv6)。

请使用逗号分隔多个 IP 地址或 IP 地址范围。 确认是否无重叠的 IP 地址,并确保 IP 地址范围使用的是无类别域际路由选择 (CIDR) 表示法。 例如,172.16.0.0, 192.168.1.0/27。

注意

IPAddressAllowList 参数仅允许管理员设置受信任的 IP 地址或地址范围。 若要仅授予从这些 IP 地址或地址范围进行访问的权限,请将 IPAddressEnforcement 参数设置为 $true。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IPAddressEnforcement

适用:SharePoint Online

允许从管理员定义的网络位置进行访问。

值为 $true 和 $false。 默认值为 $false,表示已禁用该设置。

在设置 IPAddressEnforcement 参数之前,请确保向 IPAddressAllowList 参数添加一个有效的 IPv4 或 IPv6 地址。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IPAddressWACTokenLifetime

适用:SharePoint Online

允许设置会话超时。 如果你是租户管理员,并且开始对 Office 365 中的 OneDrive for Business 进行 IP 地址强制执行,此强制执行将自动激活租户参数 IPAddressWACTokenLifetime。 当 IP 地址强制执行为 True 时,默认值为 15 分钟。

参数值:Int32

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IsCollabMeetingNotesFluidEnabled

控制是否在 Microsoft Teams 中启用协作会议笔记。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IsDataAccessInCardDesignerEnabled

IsDataAccessInCardDesignerEnabled 设置 (默认为 false) 将允许 Viva Connections 仪表板操作员访问卡片Designer 卡中的 SharePoint 和图形 API。

有效值为:

  • False (默认) – 无法在卡片Designer 卡中访问 SharePoint 和图形 API。
  • True - 对仪表板具有编辑权限的用户将能够访问卡片Designer 卡中的 SharePoint 和图形 API。

有关此功能的详细信息,请参阅 Viva Connections Card Designer 高级 API 功能概述。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IsEnableAppAuthPopUpEnabled

允许或禁用组织中的用户使用弹出窗口对 SharePoint 应用程序进行身份验证。

此参数影响 SharePoint 中的代码与 Microsoft Entra ID 交互以获取令牌以访问 API 的方式。 在禁用第三方 Cookie (的情况下(例如启用了 ITP 功能的 Safari 浏览器) ),任何需要令牌访问 API 的代码都会自动触发整页刷新。 当 IsEnableAppAuthPopUpEnabled 设置为 $true 时,SharePoint 将在此场景中显示一个弹出窗口。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IsFilePreviewDomainRestrictionEnabled

适用:SharePoint Online

启用或禁用由 定义的文件预览域允许列表 FilePreviewAllowedDomainList的强制执行。

值为 $true$false和 。 默认值为 $false,这意味着该限制已禁用,并且文件预览查看器可以从任何域加载内容。

参数值: True |假

参数属性

类型:System.Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IsFluidEnabled

适用:SharePoint Online

是否启用了流畅框架。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IsLoopEnabled

控制 Microsoft Teams 中是否提供 Loop 组件。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IsSharePointAddInsBlocked

适用:SharePoint Online

启用此功能后,加载项的所有功能将受到限制,从而阻止它们运行或安装。

有效值为:

  • False (default) - 支持所有加载项功能。
  • True - 所有加载项功能都将被阻止。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IsSharePointAddInsDisabled

适用:SharePoint Online

启用该功能后,所有加载项功能都将被禁用。

有效值为:

  • False (default) - 支持所有加载项功能。
  • True - 将禁用所有加载项功能。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-IsWBFluidEnabled

适用:SharePoint Online

设置是为 OneDrive for Business 用户启用还是禁用白板。 OneDrive for Business 上的白板会自动为适用的 Microsoft 365 租户启用,但你可以将其禁用。

有效值为:

  • $true - 管理员通过“OneDrive for Business 用户”为用户启用白板。
  • $false - 管理员通过“OneDrive for Business 用户”为用户禁用白板。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-KnowledgeAgentScope

适用:SharePoint Online

此参数允许管理员控制知识智能体功能在哪些 SharePoint 网站上可用。

有效值为:

  • AllSites:知识智能体在所有网站上都可用。
  • ExcludeSelectedSites:知识智能体在除 中 KnowledgeAgentSelectedSitesList指定的站点之外的所有站点上可用。
  • NoSites:知识智能体在任何网站上都不可用。 这是默认值。

注意

使用此参数需要智能 智能 Microsoft 365 Copilot 副驾驶® 副驾驶® 许可证。

参数属性

类型:KnowledgeAgentFeatureScopeValue
默认值:NoSites
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-KnowledgeAgentSelectedSitesList

适用:SharePoint Online

此参数允许管理员传递要从知识智能体功能中排除的 SharePoint 网站 URL 列表。 默认情况下,这会使用提供的列表覆盖任何现有排除列表。 只有在设置为 ExcludeSelectedSites时才能调用KnowledgeAgentScope此参数。

站点 URL 列表不能超过 100 个项目。

注意

使用此参数需要智能 智能 Microsoft 365 Copilot 副驾驶® 副驾驶® 许可证。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-KnowledgeAgentSelectedSitesListOperation

适用:SharePoint Online

此参数指定要对知识智能体功能的当前排除站点列表执行的操作。

有效值为:

  • Overwrite:覆盖现有的排除站点列表。 这是默认操作。
  • Append:将网站的输入列表追加到现有的排除网站列表。
  • Remove:从现有排除的站点列表中删除站点的输入列表。

注意

不带调用此参数不起 KnowledgeAgentSelectedSitesList 作用。

参数属性

类型:SelectedSitesListOperations
默认值:Overwrite
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

适用:SharePoint Online

此参数允许租户管理员自定义电子邮件中的“帮助链接”,主题为“检测到不兼容的敏感度标签”。当上传的文档上的标签与网站上的标签之间发生敏感度标签不匹配时,SharePoint Online 将捕获审核记录,并向上传文档的人员和网站所有者发送检测到不兼容的敏感度标签电子邮件通知。 该通知包含导致该问题的文档的详细信息,以及分配给文档和网站的标签。 此比较发生在这两个标签的优先级之间。

该值可以是任何有效的 URL。

类型:System.String
默认值:None
支持通配符:False
不显示:False
(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-LegacyAuthProtocolsEnabled

适用:SharePoint Online

默认情况下,此值将设置为 $True,这意味着已启用使用旧版协议的身份验证。

如果将此参数设置为 $False,则可以阻止使用非新式身份验证协议的 Office 客户端访问 SharePoint Online 资源。

  • True - 允许使用非新式身份验证协议(例如,基于表单的身份验证 (FBA) 或标识客户端运行时库 (IDCRL))的 Office 客户端访问 SharePoint 资源。
  • False - 阻止使用非新式身份验证协议的 Office 客户端访问 SharePoint Online 资源。

注意

• 这也可能阻止第三方应用访问 SharePoint Online 资源。
此外,这还会阻止使用 SharePointOnlineCredentials 类的应用访问 SharePoint Online 资源。 有关 SharePointOnlineCredentials 的其他信息,请参阅 SharePointOnlineCredentials 类。

• 更改无法瞬间完成。 最多可能需要 24 小时才能生效。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-LegacyBrowserAuthProtocolsEnabled

控制是否启用与旧版信赖方套件 (RPS) 协议的 SharePoint 的旧版浏览器身份验证连接。 旧版协议使用非新式身份验证方法,因此更容易受到暴力攻击和网络钓鱼攻击。 将此项设置为 False 可阻止应用程序( (包括第三方应用程序)) 使用非新式身份验证协议在浏览器中访问 SharePoint Online 和 OneDrive 资源。

参数值: True |假

注意

• 自 2025 年 10 月起,企业租户将弃用旧版浏览器身份验证。
此设置将无法再设置为 true。 RPS 协议将不再起作用。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-LimitedAccessFileType

适用:SharePoint Online

仅允许用户在浏览器中预览 Office 文件。 此选项可提高安全性,但可能会影响用户的工作效率。

以下参数可与 -ConditionalAccessPolicy AllowLimitedAccess 一起用于组织范围设置和站点级别设置。

  • OfficeOnlineFilesOnly:仅允许用户在浏览器中预览 Office 文件。 此选项可提高安全性,但可能会影响用户的工作效率。
  • LimitedAccessFileType WebPreviewableFiles(默认值):允许用户在浏览器中预览 Office 文件。 此选项可针对用户工作效率进行优化,但对非 Office 文件的安全性较低。 警告:已知此选项会导致 PDF 和图像类型的文件出现问题,因为它们可能需要下载到最终用户的计算机才能在浏览器中呈现。 请仔细规划此控制措施的使用。 否则,用户可能会遇到意外的“拒绝访问”错误。
  • LimitedAccessFileType OtherFiles:允许用户下载无法预览的文件,如 .zip 和 .exe。 此选项提供的安全性较低。

参数值:OfficeOnlineFilesOnly | WebPreviewableFiles | OtherFiles

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SPOLimitedAccessFileType
默认值:None
支持通配符:False
不显示:False

参数集

ParamSetMultipleSites
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-MajorVersionLimit

手动管理版本历史记录限制 (EnableAutoExpirationVersionTrim $false) 时,管理员需要将限制设置为 (MajorVersionLimit) 的主要版本数以及版本存储 (ExpireVersionsAfterDays) 的时间段。 详情请检查的EnableAutoExpirationVersionTrim说明。

参数值:Int32

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-MarkNewFilesSensitiveByDefault

适用:SharePoint Online

如果启用了外部共享,则在 Office DLP 规则完成处理之前,来宾可以共享和访问敏感内容,你可以通过配置此参数来解决此问题。

可能的值为:

  • BlockExternalSharing:阻止来宾访问新添加的文件,直到至少有一个 Office DLP 策略扫描完文件内容。
  • AllowExternalSharing:禁用此功能。

有关详细信息,请参阅默认情况下,将新文件标记为敏感。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SensitiveByDefaultState
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-MassDeleteNotificationDisabled

启用或禁用批量删除检测功能。 当 MassDeleteNotificationDisabled 设置为 $true 时,租户管理员可以在不触发电子邮件通知的情况下执行批量删除操作。

参数值: True |假

参数属性

类型:System.Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-MassDeleteNotificationDisabledForODB

启用或禁用 ODB 的批量删除检测功能。 当 MassDeleteNotificationDisabledForODB 设置为 $true 时,租户管理员可以在不触发 ODB 电子邮件通知的情况下执行批量删除操作。

参数值: True |假

参数属性

类型:System.Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-MassDeleteNotificationDisabledForSPO

启用或禁用 SPO 的批量删除检测功能。 当 MassDeleteNotificationDisabledForSPO 设置为 $true 时,租户管理员可以在不触发 SPO 电子邮件通知的情况下执行批量删除操作。

参数值: True |假

参数属性

类型:System.Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-MaxCompatibilityLevel

适用:SharePoint Online

唯一有效的值是“15”。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-MediaTranscription

适用:SharePoint Online

启用该功能后,视频可以按需生成脚本或在某些情况下自动生成脚本。 这是默认值,因为策略默认启用。 如果视频所有者决定不想要该脚本,他们随时可以从该视频中隐藏或删除该脚本。 可能的值:

  • 已启用
  • Disabled

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.MediaTranscriptionPolicyType
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-MediaTranscriptionAutomaticFeatures

适用:SharePoint Online

启用该功能后,视频可以在上传时自动生成脚本。 策略默认启用。 如果租户管理员决定禁用该功能,可以通过在租户级别禁用策略来实现。 无法在站点级别启用或禁用此功能。 可能的值:

  • 已启用
  • Disabled

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.MediaTranscriptionAutomaticFeaturesPolicyType
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-MinCompatibilityLevel

适用:SharePoint Online

唯一有效的值是“15”。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-NoAccessRedirectUrl

适用:SharePoint Online

指定锁定状态为“NoAccess”的网站集的重定向网站 URL。

有效值为:

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-NotificationsInOneDriveForBusinessEnabled

适用:SharePoint Online

在 OneDrive for Business 中启用或禁用通知。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-NotificationsInSharePointEnabled

适用:SharePoint Online

在 SharePoint 中启用或禁用通知。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-NotifyOwnersWhenItemsReshared

适用:SharePoint Online

如果将此参数设置为 $true,当另一个用户从一个用户的 OneDrive for Business 重新共享文档时,相应的 OneDrive for Business 所有者将收到电子邮件通知。

有关如何配置外部共享通知的其他信息,请参阅为“为 OneDrive for Business 配置外部共享通知”。

有效值为 $true 和 $false。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ODBAccessRequests

适用:SharePoint Online

允许管理员设置关于访问请求和在 OneDrive for Business 中进行共享的请求的策略。

有效值为:

  • On - 无权进行共享的用户可在尝试共享时触发对 OneDrive for Business 所有者的共享请求。 此外,无文件或文件夹访问权限的用户可在尝试访问无权访问的项时触发对 OneDrive for Business 所有者的访问请求。
  • Off - 阻止访问请求和在 OneDrive for Business 上进行共享的请求。
  • Unspecified - 允许每个 OneDrive for Business 所有者启用或禁用访问请求和在其 OneDrive 上进行共享的请求。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ODBMembersCanShare

适用:SharePoint Online

允许管理员设置关于 OneDrive for Business 中的重新共享行为的策略。

有效值为:

  • On - 具有编辑权限的用户可以进行重新共享。
  • Off - 仅 OneDrive for Business 所有者可以共享。 ODBAccessRequests 的值将定义是否将共享请求发送给所有者。
  • Unspecified - 允许每个 OneDrive for Business 所有者启用或禁用其 OneDrive 上的重新共享行为。

参数属性

类型:Microsoft.SharePoint.Client.SharingState
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OfficeClientADALDisabled

适用:SharePoint Online

如果设置为 true,该参数将禁止跨租户使用基于 ADAL 的新式身份验证。

有效值为:

  • False(默认值)- 启用/允许使用新式身份验证。
  • True - 禁用通过 ADAL 进行的新式身份验证。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveAnyoneSharingLinkMaxExpirationInDays

适用:SharePoint Online

指定所有 OneDrive 网站的匿名) 共享链接 (任何人过期前的最大天数。 这是租户范围的设置,所有地理位置都将继承该策略。

该值可以是 1 到 730 天。

若要删除过期要求,请将此值设置为零 (0)。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveAnyoneSharingLinkRecommendedExpirationInDays

适用:SharePoint Online

指定所有 OneDrive 网站的匿名) 共享链接 (任何人都过期前建议的天数。 此设置在用户创建共享链接时为用户提供建议的到期期限。 这是租户范围的设置,所有地理位置都将继承该策略。

该值可以是 1 到 730 天,并且必须小于或等于 由 设置 OneDriveAnyoneSharingLinkMaxExpirationInDays的最大到期值。

设置为 0 时,默认值将为 OneDriveAnyoneSharingLinkMaxExpirationInDays。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveBlockGuestsAsSiteAdmin

控制是否阻止来宾使用 OneDrive。

有效值为:

  • 开
  • 关
  • Unspecified

参数属性

类型:Microsoft.SharePoint.Client.SharingState
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveDefaultLinkToExistingAccess

设置为 True时,默认共享链接将是“具有现有访问权限的People”链接 (,它不会修改 OneDrive 网站) 权限。 当设置为 False (默认) 时,默认共享链接类型由 OneDriveDefaultShareLinkScope 参数控制。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveDefaultShareLinkRole

此参数在 OneDrive 站点上设置默认共享链接角色。 它替换 DefaultLinkPermission.

有效值为:

  • None:未授予任何权限。
  • View:仅查看权限。
  • Edit:编辑权限。
  • Review:审阅权限。
  • RestrictedView:受限视图权限。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingRole
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveDefaultShareLinkScope

此参数设置 OneDrive 站点上的默认共享链接范围。 它替换 DefaultSharingLinkType.

有效值为:

  • Anyone:拥有链接的任何人都可以访问该内容。
  • Organization:只有组织内的人员才能访问内容。
  • SpecificPeople:只有 (用户) 指定的特定个人才能访问内容。
  • Uninitialized:默认值,指示未显式设置默认共享链接范围。

参数属性

类型:Microsoft.SharePoint.Client.Sharing.SharingScope
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveForGuestsEnabled

适用:SharePoint Online

允许为管理员托管的来宾用户创建 OneDrive for Business。 管理员托管的来宾用户将使用资源租户中的凭据来访问资源。

有效值为:

  • $true - 可以为管理员托管的来宾用户提供 OneDrives,前提是为其分配了所需的许可证。
  • $false - 无法为管理员托管的来宾用户提供 OneDrives,因为该功能处于关闭状态。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveLoopDefaultSharingLinkRole

适用:SharePoint Online

此参数为 OneDrive 站点上的 Loop 和 Whiteboard 文件设置默认共享链接角色。

有效值为:

  • 编辑
  • 查看
  • 无
  • 审阅
  • RestrictedView

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingRole
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveLoopDefaultSharingLinkScope

适用:SharePoint Online

获取或设置 OneDrive 站点上 Loop 和 Whiteboard 文件的默认共享链接范围。

有效值为:

  • 任何人
  • 组织
  • SpecificPeople
  • 未初始化

参数属性

类型:Microsoft.SharePoint.Client.Sharing.SharingScope
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveOrganizationSharingLinkMaxExpirationInDays

适用:SharePoint Online

指定所有 OneDrive 网站的组织共享链接过期前的最大天数。 这是租户范围的设置,所有地理位置都将继承该策略。

该值可以是 7 到 720 天。

若要删除过期要求,请将此值设置为零 (0)。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveOrganizationSharingLinkRecommendedExpirationInDays

适用:SharePoint Online

指定所有 OneDrive 网站的组织共享链接过期前建议的天数。 此设置在用户创建共享链接时为用户提供建议的到期期限。 这是租户范围的设置,所有地理位置都将继承该策略。

该值可以是 7 到 720 天,并且必须小于或等于由 设置 OneDriveOrganizationSharingLinkMaxExpirationInDays的最大到期值。

设置为 0 时,默认值将为 OneDriveOrganizationSharingLinkMaxExpirationInDays。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveRequestFilesLinkEnabled

启用或禁用所有 OneDrive 站点的 OneDrive 分区上的“请求文件”链接。 如果未设置此值,则“请求文件”链接将仅对启用了“任何人”链接的 OneDrive 显示。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveRequestFilesLinkExpirationInDays

指定所有 OneDrive 网站的请求文件链接过期前的天数。

该值可以是 0 到 730 天。

若要删除过期要求,请将此值设置为零 (0)。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveSharingCapability

确定 OneDrive 网站可用的共享级别。 它对 SharingCapabilities 应于 OneDrive 站点。

有效值为:

  • ExternalUserAndGuestSharing(默认值)- 同时启用外部用户共享(通过电子邮件共享)和来宾链接共享。
  • 已禁用 - 外部用户共享 (通过电子邮件共享) 和来宾链接共享均被禁用。
  • ExternalUserSharingOnly - 已启用外部用户共享 (通过电子邮件共享) ,但禁用来宾链接共享。
  • ExistingExternalUserSharingOnly - 仅限组织目录中已有的来宾。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingCapabilities
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OneDriveStorageQuota

适用:SharePoint Online

设置租户的默认 OneDrive for Business 存储配额。 该配额将用于新创建的 OneDrive for Business 网站。

典型的用法是将与 OneDrive for Business 关联的存储量减少到低于许可证授予用户的级别。 例如,在默认情况下,它可能用于将配额设置为 10 千兆字节 (GB)。

如果值设置为 0,该参数将不起作用。

如果将值设置为大于允许的最大 OneDrive for Business 配额,则该值将不起作用。

参数属性

类型:System.Int64
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OpticalCharacterRecognitionScope

适用:SharePoint Online

此参数允许管理员限制 光学字符识别 高级功能在哪些 SharePoint 网站上可用。

有效值为:

  • NoSites:光学字符识别在任何网站上都不可用。
  • AllSites:光学字符识别在所有站点上都可用。
  • SelectedSites:光学字符识别仅在功能的所选站点列表中的站点上可用。

注意

使用此参数要求租户设置即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。 使用此参数将清除当前光学字符识别选定站点列表(如果存在)。

参数属性

类型:SyntexFeatureScopeValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OpticalCharacterRecognitionSelectedSitesList

适用:SharePoint Online

此参数允许管理员传递 SharePoint 网站 URL 列表以修改 光学字符识别 高级功能的所选网站列表。 默认情况下,此参数使用用户输入列表覆盖现有列表。 此外,该 OpticalCharacterRecognitionSelectedSitesListOperation 参数可用于指定其他操作。 仅当光学字符识别的作用域设置为 SelectedSites时,才能调用此参数。 输入的站点 URL 列表不能超过 100 项。

注意

使用此参数要求租户设置即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OpticalCharacterRecognitionSelectedSitesListOperation

适用:SharePoint Online

此参数允许管理员使用传递给OpticalCharacterRecognitionSelectedSitesList参数的站点 URL 列表指定要对光学字符识别高级功能的当前选定站点列表执行的操作。

有效值为:

  • Overwrite:覆盖现有的选定站点列表。 这是默认操作。
  • Append:将输入网站列表追加到现有的选定网站列表。
  • Remove:从现有的选定站点列表中删除站点的输入列表。

注意

使用此参数要求租户设置即用即付计费。 有关详细信息,请访问 Microsoft Syntex 的许可。 不带调用此参数不起 OpticalCharacterRecognitionSelectedSitesList 作用。

参数属性

类型:SelectedSitesListOperations
默认值:Overwrite
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OrphanedPersonalSitesRetentionPeriod

适用:SharePoint Online

指定将在删除用户的 Active Directory 帐户多少天后删除其 OneDrive for Business 内容。

值的范围将介于 30 和 3650 之间(以天为单位)。 默认值为 30。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SyntexFeatureScopeValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-OwnerAnonymousNotification

适用:SharePoint Online

启用或禁用所有者匿名通知。 如果启用,则在创建或更改匿名链接时,将向 OneDrive for Business 所有者发送电子邮件通知。

参数值: True |假

参数属性

类型:

System.String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-PermissiveBrowserFileHandlingOverride

适用:SharePoint Online

启用“许可”浏览器文件处理。 默认情况下,浏览器文件处理设置为“严格”。 “严格”设置添加强制浏览器下载某类文件的标题。 强制下载不允许 Web 内容自动执行,从而提高了安全性。 设置为“许可”时,不会在浏览器中添加标题,且在其中可执行某类文件,而不进行下载。

有效值为:

  • True - 启用“许可”浏览器文件处理设置。
  • False - 保持默认的“严格”浏览器文件处理设置。

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SelectedSitesListOperations
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-PrebuiltModelScope

适用:SharePoint Online

此参数允许管理员限制预生成模型和 预生成文档处理 高级功能在哪些 SharePoint 网站上可用。

有效值为:

  • NoSites:预生成模型在任何网站上都不可用。
  • AllSites:预生成模型在所有站点上可用。
  • SelectedSites:预生成模型仅在功能的所选站点列表中的站点上可用。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。 使用此参数将清除当前预生成模型选定站点列表(如果存在)。

参数属性

类型:SyntexFeatureScopeValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-PrebuiltModelSelectedSitesList

适用:SharePoint Online

此参数允许管理员传递 SharePoint 网站 URL 列表,以修改预生成模型和 预生成文档处理 高级功能的所选网站列表。 默认情况下,此参数使用用户输入列表覆盖现有列表。 此外,该 PrebuiltModelSelectedSitesListOperation 参数可用于指定其他操作。 仅当预生成模型的范围设置为 SelectedSites时,才能调用此参数。 输入的站点 URL 列表不能超过 100 项。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-PrebuiltModelSelectedSitesListOperation

适用:SharePoint Online

通过此参数,管理员可以使用传递给PrebuiltModelSelectedSitesList参数的站点 URL 列表,指定要对预生成模型和预生成文档处理高级功能的当前选定站点列表执行的操作。

有效值为:

  • Overwrite:覆盖现有的选定站点列表。 这是默认操作。
  • Append:将输入网站列表追加到现有的选定网站列表。
  • Remove:从现有的选定站点列表中删除站点的输入列表。

注意

使用此参数要求租户具有所需的许可证或即用即付计费设置。 有关详细信息,请访问 Microsoft Syntex 的许可。 不带调用此参数不起 PrebuiltModelSelectedSitesList 作用。

参数属性

类型:SelectedSitesListOperations
默认值:Overwrite
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-PreventExternalUsersFromResharing

适用:SharePoint Online

阻止外部用户重新共享非他们所有的文件、文件夹和网站。

参数值: True |假

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ProvisionSharedWithEveryoneFolder

适用:SharePoint Online

在每个用户的新 OneDrive for Business 文档库中创建“与每个人共享”文件夹。

有效值为:

  • True(默认值)- 将创建“与每个人共享”文件夹。
  • False - 创建网站和 OneDrive for Business 文档库时,不会创建任何文件夹。

“与每个人共享”文件夹的默认行为在 2015 年 8 月发生了变化。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-PublicCdnAllowedFileTypes

适用:SharePoint Online

如果启用了公共 CDN,则设置公共 CDN 允许的文件类型。

参数值:String

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-PublicCdnEnabled

适用:SharePoint Online

启用或禁用公共 CDN。

参数值: True |假

参数属性

类型:Microsoft.Online.SharePoint.TenantAdministration.SyntexFeatureScopeValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-RecycleBinRetentionPeriod

适用:SharePoint Online

设置内容在删除前 Microsoft365.com 在回收站中保留的时间量。

参数属性

类型:Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ReduceTempTokenLifetimeEnabled

适用:SharePoint Online

缩短了应用用于文档下载方案的临时 URL 的会话超时时间。 当兑换 IP 地址的应用与原始请求 IP 不匹配时,就会发生减少。 如果未设置 ReduceTempTokenLifetimeValue,则默认值为 15 分钟。

注意: 降低此值可能会因要求用户频繁进行身份验证提示而导致最终用户体验下降。

参数属性

类型:Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ReduceTempTokenLifetimeValue

适用:SharePoint Online

用于设置临时 URL 的会话超时值的可选参数。 该值可以设置为 5 到 15 分钟,默认值为 15 分钟。

参数属性

类型:Int32
默认值:15
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-RemoveAppIdFromList

适用:SharePoint Online

与 RestrictExternalSharing配对时,指示应从外部共享限制中删除 GUID。

注意

此功能目前处于预览状态,可能在租户中不可用。

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

ParameterSetNameRestrictExternalSharing
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-RemoveVersionExpirationFileTypeOverride

文件类型名称的数组。 从一组文件类型中删除版本历史记录限制替代,以便它们将遵循默认版本历史记录限制。

版本历史记录限制应用于租户中的新文档库。

注意

此功能目前处于预览状态,可能在租户中不可用。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-RequireAcceptingAccountMatchInvitedAccount

自从 SharePoint Online 旧版邀请流切换到 Entra B2B 邀请流以来,此参数已弃用。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-RequireAnonymousLinksExpireInDays

指定用户创建的匿名链接过期期限的上限。 设置此策略后创建的所有链接都将在设置的天数的时间段结束时过期。

该值可以是 0 到 730 天。

若要删除过期要求,请将此值设置为零 (0)。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-RestrictAccessControlForAgenticUser

适用:SharePoint Online

指定是否限制代理用户访问组织中的所有站点。 将此参数 $true 设置为在运行时阻止代理用户,或 $false 删除组织范围的限制。 更改此设置不会删除现有权限。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

适用:SharePoint Online

在由于受限访问控制策略而拒绝访问的情况下,设置指向组织帮助页面的链接。

类型:System.String
默认值:None
支持通配符:False
不显示:False
(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

设置自定义“了解详细信息”链接,通知由于受限网站访问控制策略而被拒绝访问 SharePoint 网站的用户。

类型:System.String
默认值:None
支持通配符:False
不显示:False
(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-RestrictExternalSharing

适用:SharePoint Online

指定限制与外部用户共享内容的代理标识。

  • 对于代理用户,这是从中创建代理用户的父级的 GUID。

注意

此功能目前处于预览状态,可能在租户中不可用。

参数属性

类型:

Guid[]

默认值:None
支持通配符:False
不显示:False

参数集

ParameterSetNameRestrictExternalSharing
Position:0
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-RestrictExternalSharingForAgents

适用:SharePoint Online

控制是否允许代理标识与外部用户共享内容。 设置此项可 True 阻止共享。

参数值: True |假

注意

此功能目前处于预览状态,可能在租户中不可用。

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-RestrictResourceAccountAccess

适用:SharePoint Online

控制 Teams 会议室和设备使用的资源帐户是否可以在会议/协作完成后保留对文件的访问权限。 将此项设置为 True 可防止设备在未主动使用时访问文件和其他 Microsoft 365 资产。

参数值: True |假

注意

此功能目前处于预览状态,可能在租户中不可用。

参数属性

类型:Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ResyncContentSecurityPolicyConfigurationEntries

适用:SharePoint Online

如果设置为 True,则会强制同步租户应用程序目录中 SharePoint 框架组件的内容安全策略源。 如果存在,将根据解决方案下的.config/write-manifests.json属性将新cdnBasedPath源添加到配置中(如果尚不存在)。 同步最多可能需要 24 小时才能完成。 在多地理位置环境中, 内容安全策略 配置对于每个地理位置都是唯一的。

参数值: True |假

参数属性

类型:Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ReSyncTenantPrivacyProfile

适用:SharePoint Online

“SyncPrivacyProfileProperties”参数已过时,并重命名为 ReSyncTenantPrivacyProfile。

此参数将支持对隐私配置文件属性进行同步。

ReSyncTenantPrivacyProfile 设置是否在下一个请求时更新同步的租户属性。 该请求将导致Microsoft Entra ID获取租户的当前显示名称 (TenantDisplayName) 和隐私配置文件 URL (PrivacyProfileUrl) 。

运行“Set-SPOTenant - ReSyncTenantPrivacyProfile”将强制从 Microsoft Entra 隐私配置文件 URL 同步到 SharePoint Online。 同步最多可能需要 24 小时才能完成。 每当 SharePoint Online 获取隐私配置文件 URL 时,它都会检查上次同步时间是否不在同步时间窗口之外。 如果是,则从 Microsoft Entra ID 同步到 SharePoint Online。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SearchResolveExactEmailOrUPN

适用:SharePoint Online

从人员选取器中删除搜索功能。 请注意,最近解析的名称仍将显示在列表中,直到浏览器缓存被清除或过期。 这还将禁止 SharePoint 用户搜索安全组或 SharePoint 组。

启用后,SharePoint 管理员仍可以使用“以下列字符开头”或部分名称匹配功能。

有效值为:

  • False(默认值)-“以下列字符开头”搜索功能/部分名称搜索功能可用。
  • True - 禁用除 SharePoint 管理员以外的所有用户的“以下列字符开头”搜索功能/所有 SharePoint 用户的部分名称搜索功能。

注意

SharePoint 网站管理员可以绕过他们管理的网站上的 People Picker 限制。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SelfServiceSiteCreationDisabled

适用:SharePoint Online

如果设置为 True,则用户无法从 SharePoint、OneDrive、PnP PowerShell cmdlet 和 REST API 创建网站。 设置为 (默认) 时 False ,用户可以从 SharePoint、OneDrive、PnP PowerShell cmdlet 和 REST API 创建网站。

参数值: True |假

参数属性

类型:Boolean
默认值:False
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SensitivityLabel

适用:SharePoint Online

设置网站的敏感度标签。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SharingAllowedDomainList

适用:SharePoint Online

指定允许与外部协作者共享的电子邮件域列表。 使用空格字符作为分隔符来输入多个值。 例如,“contoso.com fabrikam.com”。

有关如何限制域共享的其他信息,请参阅 Office 365 SharePoint Online 和 OneDrive for Business 中的受限域共享。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SharingBlockedDomainList

适用:SharePoint Online

指定阻止或禁止与外部协作者共享的电子邮件域的列表。 使用空格字符作为分隔符来输入多个值。 例如,“contoso.com fabrikam.com”。

有关如何限制域共享的其他信息,请参阅 Office 365 SharePoint Online 和 OneDrive for Business 中的受限域共享。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SharingCapability

适用:SharePoint Online

确定 OneDrive 和 SharePoint 网站可用的共享级别。

有效值为:

  • ExternalUserAndGuestSharing(默认值)- 同时启用外部用户共享(通过电子邮件共享)和来宾链接共享。
  • 已禁用 - 外部用户共享 (通过电子邮件共享) 和来宾链接共享均被禁用。
  • ExternalUserSharingOnly - 已启用外部用户共享 (通过电子邮件共享) ,但禁用来宾链接共享。
  • ExistingExternalUserSharingOnly - 仅限组织目录中已有的来宾。

有关共享的详细信息,请参阅管理 SharePoint Online 环境的 共享设置 。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingCapabilities
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SharingDomainRestrictionMode

适用:SharePoint Online

指定域的外部共享模式。

有效值为:

  • None
  • AllowList - 用户只能与来自该电子邮件域的外部协作者共享。
  • BlockList - 除了 BlockedDomainList 上的协作者之外,用户将能够与所有外部协作者共享。

有关如何限制域共享的其他信息,请参阅 Office 365 SharePoint Online 和 OneDrive for Business 中的受限域共享。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SharingDomainRestrictionModes
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ShowAllUsersClaim

适用:SharePoint Online

使管理员可以在人员选取器中隐藏“所有用户”声明组。

当用户与“所有用户 (x) ”共享项目时,租户Microsoft Entra ID中已通过此方法进行身份验证的所有组织成员都可以访问该项目。 当用户与“所有用户(x)”共享某项时,租户中使用 NTLM 进行 SharePoint 身份验证的所有组织成员都可以访问该项。

请注意,“所有用户(已验证)”组等效于“每个人”声明,并显示为“每个人”。 若要更改此项,请参阅 -ShowEveryoneClaim。

有效值为:

  • True(默认值)-“所有用户”声明组在人员选取器中显示。
  • False - “所有用户”声明组在人员选取器中处于隐藏状态。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ShowEveryoneClaim

适用:SharePoint Online

使管理员可以在人员选取器中隐藏“每个人”声明。 当用户与所有人共享项目时,租户的 Microsoft Entra ID 中的所有经过身份验证的用户都可以访问它,包括以前接受过邀请的任何活动外部用户。

请注意,部分 SharePoint 系统资源(如模板和页面)需要与“每个人”共享,此类共享不会公开任何用户数据或元数据。

有效值为:

  • True -“每个人”声明组在人员选取器中显示。 对于早于 2018 年 3 月的租户,该值为默认值
  • False(默认值)-“每个人”声明组在人员选取器中处于隐藏状态。 该值已成为新租户的新默认值。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ShowEveryoneExceptExternalUsersClaim

适用:SharePoint Online

使管理员可以在人员选取器中隐藏“除外部用户外的任何人”声明。 当用户与“除外部用户以外的所有人”共享项目时,租户 Microsoft Entra ID 中的所有组织成员都可以访问该项目,但以前接受过邀请的任何用户都无法访问它。

有效值为:

  • True(默认值)-“除外部用户外的任何人”在人员选取器中显示。
  • False -“除外部用户外的任何人”声明在人员选取器中不可见。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ShowOpenInDesktopOptionForSyncedFiles

适用:SharePoint Online

设置是否应启用“在桌面中打开”设置。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ShowPeoplePickerGroupSuggestionsForIB

ShowPeoplePickerGroupSuggestionsForIB 设置 (默认为 false) 允许显示有关People选取器中) 的信息屏障 (IB 的组建议。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ShowPeoplePickerSuggestionsForGuestUsers

适用:SharePoint Online

显示人员选取器的来宾用户建议。 若要启用在租户级别搜索现有来宾用户的选项,请将此参数设置为 $true。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SignInAccelerationDomain

适用:SharePoint Online

指定在用户登录过程中要发送到 Microsoft Entra ID 的主领域发现值。

当组织使用第三方标识提供者时,这将阻止用户查看 Microsoft Entra 主领域发现网页,并确保用户只能看到其公司的标识提供者门户。 此值还可与 Microsoft Entra ID P1 或 P2 一起使用,以自定义 Microsoft Entra 登录页。

外部共享的网站集无法加速。

此值应使用公司 (使用的登录域(即 example@contoso.com) )配置。

如果你所在的公司具有多个第三方标识提供程序,则配置登录加速值将中断组织的登录。

有效值为:

  • ""(默认值)- 默认情况下为空,该设置也会删除或清除已设置的任何值。
  • 登录域 - 例如:“contoso.com”

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SiteOwnerManageLegacyServicePrincipalEnabled

适用:SharePoint Online

允许或禁止网站集管理员管理 Azure 访问控制 (ACS) 服务主体。

当值设置为 false 时,服务主体只能由 SharePoint 租户管理员创建或更新。如果将该值设置为 true,则 SharePoint 租户管理员和网站集管理员都可以通过 SharePoint 创建或更新服务主体。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SiteOwnersCanAccessMissingContent

适用:SharePoint Online

网站所有者是否可以访问有关其网站上缺失内容的信息。

注意

此功能目前处于预览状态,可能在租户中不可用。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Sites

某些属性将应用于的网站列表,例如条件访问策略。

有效值为:

  • URL
  • SiteId

参数属性

类型:

Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind[]

默认值:None
支持通配符:False
不显示:False

参数集

ParamSetMultipleSites
Position:Named
必需:False
来自管道的值:True
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SocialBarOnSitePagesDisabled

适用:SharePoint Online

禁用或启用社交栏。

社交栏将显示在除网站主页外的所有新式 SharePoint 页面上。 它使用户能够点赞页面、查看页面上的观看、点赞和评论数量,以及查看点赞过页面的人员。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SpecialCharactersStateInFileFolderNames

适用:SharePoint Online

允许在 SharePoint Online 和 OneDrive for Business 文档库中的文件和文件夹名称中使用特殊字符。

注意

目前可管理的仅有的两个字符是 # 和 % 字符。

有效值为:

  • NoPreference - 将由 Microsoft 在你的 Office 365 租户上启用对功能的支持。
  • Allowed - 允许在 SharePoint Online 和 OneDrive for Business 库中的文件和文件夹名称中使用 # 和 % 字符。
  • Disallowed - 禁止在 SharePoint Online 和 OneDrive for Business 库中的文件和文件夹名称中使用 # 和 % 字符。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SpecialCharactersState
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-StartASiteFormUrl

适用:SharePoint Online

指定要在“启动网站”对话框中加载的窗体的 URL。

有效值为:

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-StopAlerts

适用:SharePoint Online

此参数允许在 2026 年 7 月 1 日宣布弃用之前禁用经典 SharePoint 警报。 有关详细信息,请参阅 SharePoint 警报停用 页面。

有效值为:

  • False - 经典 SharePoint 警报功能未关闭。
  • True - 经典 SharePoint 警报功能已关闭,并且不会发送经典警报电子邮件。

参数属性

类型:Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-StopNew2010Workflows

阻止创建新的 SharePoint 2010 经典工作流。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-StopNew2013Workflows

阻止创建新的 SharePoint 2013 经典工作流。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-StreamLaunchConfig

适用:SharePoint Online

设置 Stream Launch 配置状态。

参数属性

类型:System.Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SyncAadB2BManagementPolicy

此功能允许 SharePoint Online 同步多个 Entra B2B 协作设置来宾用户访问限制和协作限制,并将其存储在 SharePoint Online 租户商店中。 在向 Entra B2B 邀请管理器发送邀请请求之前,SharePoint 会检查这些同步设置是否阻止共享。 如果更改这些 Entra B2B 协作设置,同步可能需要长达 24 小时才能完成。 若要使更改立即在 SharePoint Online 上生效,请运行“Set-SPOTenant -SyncAadB2BManagementPolicy $true”,它会强制从 Microsoft Entra 同步。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-SyncPrivacyProfileProperties

适用:SharePoint Online

设置是否在下一个请求时刷新同步的隐私配置文件属性。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-TlsTokenBindingPolicyValue

适用:SharePoint Online

设置传输层安全 (TLS) 令牌绑定策略设置。

参数属性

类型:Microsoft.Online.SharePoint.TenantManagement.SPOTlsTokenBindingPolicyValue
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-UseFindPeopleInPeoplePicker

适用:SharePoint Online

此功能使租户管理员能够支持 ODB 和 SPO 遵守人员选取器中的以下策略:Exchange 支持通讯簿策略 (ABP)。

参数值: True |假

注意

设置为 $true 时,用户无法与安全组或 SharePoint 组共享。 SharePoint 网站管理员可以绕过他们管理的网站上的 People Picker 限制。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-UsePersistentCookiesForExplorerView

适用:SharePoint Online

注意

Internet Explorer (IE) 停用时不再使用此设置,并且该参数将很快被删除。 用户需要在登录时提示“保持登录状态?”保持登录状态?“选择”是“,才能使用 文件资源管理器 Microsoft Edge。

允许 SharePoint 颁发一个特殊 Cookie,以便此功能即使是在未选择“使我保持登录状态”的情况下也能正常工作。

必须要有持久性 Cookie,“使用资源管理器​​打开”才能正常操作。 如果用户在登录时没有选择“使我保持登录状态”,将无法使用“使用资源管理器​​打开”。

此特殊 Cookie 将于 30 分钟后过期,且不能通过关闭浏览器或注销 SharePoint Online 清除。 若要清除此 Cookie,用户必须退出 Windows 会话。

有效值为:

  • False(默认值)- 不生成特殊 Cookie,并应用正常的 Office 365 登录时长/计时。
  • True - 生成一个特殊的 Cookie,以便允许“使用资源管理器​​打开”在登录时未选择“使我保持登录状态”框的情况下正常工作。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ViewersCanCommentOnMediaDisabled

控制是否禁止观众评论媒体项。

参数值: True |假

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ViewInFileExplorerEnabled

启用或禁用在 Microsoft Edge (93) 或更高版本中使用 View In Explorer 的功能。

注意

设置该值后,View In Explorer 命令将在 UX 中对使用 Microsoft Edge 浏览器版本 93 或更高版本的所有用户可见,但这些用户仍然需要启用 Microsoft Edge 策略 ConfigureViewInFileExplorer 才能正常使用该功能。

所需的最低模块版本:16.0.21610.12000

有效值为:

  • False(默认值)- 禁止在 Microsoft Edge 中显示 View In Explorer 命令。
  • True - 允许在 Microsoft Edge 中显示 View In Explorer 命令。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-WhoCanShareAnonymousAllowList

设置允许与匿名 (未经身份验证的) 用户以及经过身份验证的来宾用户共享的安全组列表。 每个安全组都由其在 Entra 目录中的 GUID 对象 ID 表示。

注意

此允许列表仅接受安全组,而不接受 Microsoft 365 组。

若要将此列表设置为特定的安全组,需要输入其 GUID 作为参数。 可以通过使用逗号分隔多个 GUID 来输入它们。 若要查看当前列表,请使用 Get-SPOTenant。

参数属性

类型:

System.Guid[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-WhoCanShareAuthenticatedGuestAllowList

设置仅允许与经过身份验证的来宾用户共享的安全组列表。 每个安全组都由其 GUID 对象 ID 表示。

注意

此允许列表仅接受安全组,而不接受 Microsoft 365 组。

若要将此列表设置为特定的安全组,需要输入其 GUID 作为参数。 可以通过使用逗号分隔多个 GUID 来输入它们。 若要查看当前列表,请使用 Get-SPOTenant。

参数属性

类型:

System.Guid[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Workflows2013Enabled

控制是否启用 Workflow 2013。

参数属性

类型:System.Boolean
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持以下常用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。