I'm trying to pass the values of this hash table into "restore-dbaDatabase"
Restore-DbaDatabase -SqlInstance $instanceName -Path $backupPath -WithReplace -MaintenanceSolutionBackup -DatabaseName $Databasename -FileMapping $FileMapping -OutputScriptOnly |Out-File $File
so I was...