We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5224351 commit 7eec680Copy full SHA for 7eec680
public/Mount-DbaDatabase.ps1
@@ -115,7 +115,7 @@ function Mount-DbaDatabase {
115
}
116
117
$backupfile = $backuphistory.Path[0]
118
- $filepaths = (Read-DbaBackupHeader -SqlInstance $server -FileList -Path $backupfile).PhysicalName
+ $filepaths = (Read-DbaBackupHeader -SqlInstance $server -FileList -Path $backupfile).PhysicalName | Select-Object -Unique
119
120
$FileStructure = New-Object System.Collections.Specialized.StringCollection
121
foreach ($file in $filepaths) {
0 commit comments