From 95b0fb7514a95f93180d2eff883aaa18289e883a Mon Sep 17 00:00:00 2001 From: qizu0302 <103396968+qizu0302@users.noreply.github.com> Date: Mon, 31 Mar 2025 15:53:37 +0800 Subject: [PATCH] Update New-SPConfigurationDatabase.md Add two new parameters of this command: DatabaseConnectionEncryption and DatabaseServerCertificateHostName --- .../New-SPConfigurationDatabase.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/sharepoint/sharepoint-server-ps/sharepoint-server/New-SPConfigurationDatabase.md b/sharepoint/sharepoint-server-ps/sharepoint-server/New-SPConfigurationDatabase.md index 0d7a44dcb..38e27522f 100644 --- a/sharepoint/sharepoint-server-ps/sharepoint-server/New-SPConfigurationDatabase.md +++ b/sharepoint/sharepoint-server-ps/sharepoint-server/New-SPConfigurationDatabase.md @@ -23,6 +23,7 @@ New-SPConfigurationDatabase [-DatabaseName] [-DatabaseServer] [[-DatabaseCredentials] ] [-FarmCredentials] [-Passphrase] [-SkipRegisterAsDistributedCacheHost] [-AssignmentCollection ] [-DatabaseFailOverServer ] [-LocalServerRole ] [-ServerRoleOptional] + [-DatabaseConnectionEncryption ] [-DatabaseServerCertificateHostName ] [] ``` @@ -317,6 +318,40 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -DatabaseConnectionEncryption +Specifies whether TLS encryption is used for the connection between SharePoint and the database. +Mandatory requires that TLS encryption is used. If TLS encryption can't be successfully negotiated, the connection will fail. +Optional allows TLS encryption to be used. If the database server requires TLS encryption, then TLS encryption will be used. Otherwise, TLS encryption will not be used. +Strict requires that TLS encryption is used with TDS 8.0, which is the strongest encryption configuration. If TLS encryption with TDS 8.0 can't be successfully negotiated, the connection will fail. +Databases mounted to SharePoint before the Version 24H2 feature update was installed default to Optional encryption. If this parameter is not specified when mounting a new database to SharePoint after the Version 24H2 feature update is installed, the default is Mandatory. + +```yaml +Type: SqlConnectionEncryptOption +Parameter Sets: (All) +Aliases: +Applicable: SharePoint Server Subscription Edition +Required: False +Position: Named +Default value: Mandatory +Accept pipeline input: True +Accept wildcard characters: False +``` + +### -DatabaseServerCertificateHostName +Sets the host name to use when validating the server certificate for the connection. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: +Applicable: SharePoint Server Subscription Edition +Required: False +Position: Named +Default value: None +Accept pipeline input: True +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).