Skip to content

Commit

Permalink
Update Format-DbaBackupInformation.ps1 (dataplat#9277)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7FFFFFFFFFFFFFFF authored Mar 16, 2024
1 parent 2e43153 commit 79357e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/Format-DbaBackupInformation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function Format-DbaBackupInformation {
https://dbatools.io/Format-DbaBackupInformation
.EXAMPLE
PS C:\> $History | Format-DbaBackupInformation -ReplaceDatabaseName NewDb
PS C:\> $History | Format-DbaBackupInformation -ReplaceDatabaseName NewDb -ReplaceDbNameInFile
Changes as database name references to NewDb, both in the database name and any restore paths. Note, this will fail if the BackupHistory object contains backups for more than 1 database
Expand Down Expand Up @@ -225,4 +225,4 @@ function Format-DbaBackupInformation {
$History
}
}
}
}

0 comments on commit 79357e5

Please sign in to comment.