Skip to content

Commit d1b2b4c

Browse files
committed
add MemberType (do Test-DbaBackupInformation)
1 parent 6f8364d commit d1b2b4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/Test-DbaBackupInformation.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function Test-DbaBackupInformation {
213213

214214
if ($VerificationErrors -eq 0) {
215215
Write-Message -Message "Marking $Database as verified" -Level Verbose
216-
$InternalHistory | Where-Object { $_.Database -eq $Database } | ForEach-Object { Add-Member -InputObject $_ -Name IsVerified -Value $true -Force }
216+
$InternalHistory | Where-Object { $_.Database -eq $Database } | ForEach-Object { Add-Member -InputObject $_ -MemberType NoteProperty -Name IsVerified -Value $true -Force }
217217
} else {
218218
Write-Message -Message "Verification errors = $VerificationErrors - Has not Passed" -Level Verbose
219219
}

0 commit comments

Comments
 (0)