Andreas Jordan
Andreas Jordan
Have a look at the code of Get-DbaFirewallRule. That might give you an idea how to handle remote debug or verbose output. https://github.com/dataplat/dbatools/blob/e6997bfc5b472309da6498d6001f1acaf63ae2ce/functions/Get-DbaFirewallRule.ps1#L90-L148 https://github.com/dataplat/dbatools/blob/e6997bfc5b472309da6498d6001f1acaf63ae2ce/functions/Get-DbaFirewallRule.ps1#L156-L161 But let me ask: What would...
You would have to change the code in the module folder before loading the module. Normally, only allcommands.ps1 is loaded, so you have to change that. Better option is to...
Hi @rickobsitnik - is there anything we can do here? Otherwise I would like to close this issue.
Ok, here is the doumentation: https://docs.microsoft.com/de-de/dotnet/api/system.diagnostics.process.waitforexit?view=net-6.0 So we could use WaitForExit(Int32) to have a timeout. But @salvbing - can you open a new feature request for that?
As the files are not locally to the PowerShell session but locally to the SQL Server instance, we use `xp_dirtree` to get a list of files and pass them to...
Have a look at the linked pull request.
Thanks Shawn for your feedback, you have a very valid point here. So after that, I would vote for closing this issue as "works as designed". So the user would...
I will change this from a bug to a documentation issue...
Might not solve your issue, but I would use these commands: ``` $backup = Backup-DbaDatabase -SqlInstance $Instance -Path $Path -Database $SrcDatabase -SqlCredential $Credential -Type Full -CopyOnly -CompressBackup -Initialize -IgnoreFileChecks $backup...
Hi @corelevel - so can we close this issue or is there still a problem?