About 427,000 results
Open links in new tab
  1. sql server - Powershell - The certificate chain was issued by an ...

    May 15, 2023 · Powershell - The certificate chain was issued by an authority that is not trusted (dbatools) Asked 2 years, 8 months ago Modified 6 months ago Viewed 47k times

  2. upgrade to Powershell 7 & dbaTools 2 causing "Assembly with …

    Nov 24, 2023 · I have just spent a week working around this issue, which seems to have got worse since dbatools 2.1.10 and sqlserver 22.2.0 became available. Ended up raising a ticket …

  3. sql server - DBATools Error: 'could not load file or assembly ...

    Jan 31, 2020 · DBATools Error: 'could not load file or assembly 'Microsoft.SqlServer.Replication.dll or one of its dependencies'' Asked 5 years, 11 months ago …

  4. error on loading PowerShell module dbatools - Stack Overflow

    Aug 6, 2024 · I have a script that collects some information about a SQL Server instance using the great dbatools module. The script is started from a web application. It used to work just …

  5. dbatools - Restore-DbaDatabase returns [Restore-DbaDatabase] …

    Mar 31, 2025 · We are able to repeat this behaviour on dbatools v2.1.30 with sql server 2022. Separating to bak and trn restore has resolved the issue.

  6. How to export the output of a SQL query to Excel using …

    Jun 2, 2020 · Since you are using PowerShell already, why not to try and . dbatools will help you to get data from the SQL with an easy way. Here is an example (for more check : The other …

  7. Restore-DbaDatabase - No backups passed through - Stack …

    Oct 19, 2024 · I was having issues with this, receiving the same "No backups passed through" earlier today. I sorted my issue. It was to do with a path I was passing it that did not exist. For …

  8. Automatically create scripts for all SQL Server Jobs

    Jul 29, 2010 · I meant that I only can access the server through SQL Management Studio and not by for example Remote Desktop Protocol. So I can't run third party software on the server.

  9. How to fix "The target principal name is incorrect error" with ...

    Dec 30, 2021 · TrustServerCertificate=True is a bandaid anyway. The proper thing to do is to issue a certificate that includes subject alternate names that match whatever name you are …

  10. DBATools :: where can I find the SqlInstance in PowerShell?

    Sep 6, 2022 · + FullyQualifiedErrorId : dbatools_Connect-DbaInstance And I know exactly where the problem is: in the parameter -SqlInstance I'm passing testing-db instead of testing …