Skip to content

Commit

Permalink
Select-DbaBackupInformation - fixed example (#9276)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7FFFFFFFFFFFFFFF authored Mar 16, 2024
1 parent 79357e5 commit 7f4fd4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/Select-DbaBackupInformation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function Select-DbaBackupInformation {
PS C:\> $Backups = Get-DbaBackupInformation -SqlInstance Server1 -Path \\server1\backups$
PS C:\> $FilteredBackups = $Backups | Select-DbaBackupInformation -RestoreTime (Get-Date).AddHours(-1) -IgnoreDiffs
Returns all the backups in \\server1\backups$ to restore to 1 hour ago using only Full and Diff backups.
Returns all the backups in \\server1\backups$ to restore to 1 hour ago using only Full and Log backups.
#>
[CmdletBinding()]
Expand Down Expand Up @@ -236,4 +236,4 @@ function Select-DbaBackupInformation {
$dbhistory
}
}
}
}

0 comments on commit 7f4fd4b

Please sign in to comment.