From 79357e5d06781bbf72e2c363a9716ae366245ad8 Mon Sep 17 00:00:00 2001 From: 0x7FFFFFFFFFFFFFFF <39968+0x7FFFFFFFFFFFFFFF@users.noreply.github.com> Date: Sat, 16 Mar 2024 16:43:05 +0800 Subject: [PATCH] Update Format-DbaBackupInformation.ps1 (#9277) --- public/Format-DbaBackupInformation.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/Format-DbaBackupInformation.ps1 b/public/Format-DbaBackupInformation.ps1 index d934286c2e..674a22401c 100644 --- a/public/Format-DbaBackupInformation.ps1 +++ b/public/Format-DbaBackupInformation.ps1 @@ -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 @@ -225,4 +225,4 @@ function Format-DbaBackupInformation { $History } } -} \ No newline at end of file +}