Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8af087e

Browse files
RecoveryModel property not available (and not important for Azure SQL DB)
1 parent a4d0a65 commit 8af087e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎functions/Get-DbaDatabase.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function Get-DbaDatabase {
289289
$_.IsAccessible -in $AccessibleFilter -and
290290
$_.IsSystemObject -in $DBType -and
291291
((Compare-Object @($_.Status.tostring().split(',').trim()) $Status -ExcludeDifferent -IncludeEqual).inputobject.count -ge 1 -or !$status) -and
292-
$_.RecoveryModel -in $RecoveryModel -and
292+
($_.RecoveryModel -in $RecoveryModel-or!$_.RecoveryModel) -and
293293
$_.EncryptionEnabled -in $Encrypt
294294
}
295295
if ($NoFullBackup -or $NoFullBackupSince) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /