You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when you download the zip file for offline install via dbatools.io/zip, the file dbatools-index.json in folder bin is missing.
Instead the file dbatools-index.json.REMOVED.git-id is there with the content:
dd3f591362f6ac11490b76095057c2be87e82f34
If you run the command import-module dbatools the following error is generated:
Resolve-Path : Cannot find path 'C:\Program Files\WindowsPowerShell\Modules\dbatools\bin\dbatools-index.json' because
it does not exist.
Using a command like Get-DbaDatabase -SqlInstance Instance returns this error:
Get-DbaDatabase : Cannot process argument transformation on parameter 'SqlInstance'. Could not load file or assembly
'Microsoft.Data.SqlClient, Version=2.0.20168.4, Culture=neutral, PublicKeyToken=23ec7fc2d6eaa4a5' or one of its
dependencies. The system cannot find the file specified.
Installing dbatools from the powershell gallery works just fine, but isn't an option for deployment on servers without internet access.
Kind Regards,
Olaf
The text was updated successfully, but these errors were encountered:
Hello Olaf
Unfortunately, this portion of dbatools no longer works as we're prepping the repo for 2.0. To download dbatools, you will need to Save-Module dbatools -Path C:\temp or download the nuget package and rename it to .zip: https://psg-prod-eastus.azureedge.net/packages/dbatools.1.1.143.nupkg
Dear all,
when you download the zip file for offline install via dbatools.io/zip, the file dbatools-index.json in folder bin is missing.
Instead the file dbatools-index.json.REMOVED.git-id is there with the content:
dd3f591362f6ac11490b76095057c2be87e82f34
If you run the command import-module dbatools the following error is generated:
Resolve-Path : Cannot find path 'C:\Program Files\WindowsPowerShell\Modules\dbatools\bin\dbatools-index.json' because
it does not exist.
Using a command like Get-DbaDatabase -SqlInstance Instance returns this error:
Get-DbaDatabase : Cannot process argument transformation on parameter 'SqlInstance'. Could not load file or assembly
'Microsoft.Data.SqlClient, Version=2.0.20168.4, Culture=neutral, PublicKeyToken=23ec7fc2d6eaa4a5' or one of its
dependencies. The system cannot find the file specified.
Installing dbatools from the powershell gallery works just fine, but isn't an option for deployment on servers without internet access.
Kind Regards,
Olaf
The text was updated successfully, but these errors were encountered: