Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ New-SPConfigurationDatabase [-DatabaseName] <String> [-DatabaseServer] <String>
[[-DatabaseCredentials] <PSCredential>] [-FarmCredentials] <PSCredential> [-Passphrase] <SecureString>
[-SkipRegisterAsDistributedCacheHost] [-AssignmentCollection <SPAssignmentCollection>]
[-DatabaseFailOverServer <String>] [-LocalServerRole <SPServerRole>] [-ServerRoleOptional]
[-DatabaseConnectionEncryption <SqlConnectionEncryptOption>] [-DatabaseServerCertificateHostName <String>]
[<CommonParameters>]
```

Expand Down Expand Up @@ -317,6 +318,41 @@ 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).

Expand Down