Andreas Jordan

Results 391 comments of Andreas Jordan

You code `Set-DbatoolsConfig -FullName logging.errorlogenabled -Value $false | Register-DbatoolsConfig -Scope SystemMandatory` does not what you expect. The Set- command does not return anything, so `Register-DbatoolsConfig` is not run. You must...

Thanks for reporting this, I opened a pull request to fix it.

The current code uses `$backupFile` to just delete a specific file. Your code does not. So your code would also delete other files in that directory. Or what am I...

Sorry to say: I don't have any idea. Is the problem still repoducable on your side?

`Invoke-DbaAdvancedRestore` has `-EnableException` - it's just somewhere in the middle. Maybe we should use splatting here...

Now I changed the code to reproduce the issue. I added a "throw" just before the catch block starting line 371 of Invoke-DbaAdvancedRestore, so that every restore "failes". And it...

I can only see this message when I'm directly starting Invoke-DbaAdvancedRestore without -EnableException. So I have no idea what causes this behaviour. Maybe @FriedrichWeinmann can tell us more in which...

Thanks for the feedback. Then I will close this for now, but we can reopen if you see the issue again.

I am closing this issue now, but can reopen if there is still the need to discuss this.

@niphlod / @potatoqualitee : I don't see any code to copy the server roles. It only copies the memberships. Or am I missing something?