dotnet-dbinfo
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global dotnet-dbinfo --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local dotnet-dbinfo --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-dbinfo&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-dbinfo --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
dotnet-dbinfo
A simple command-line tool for get useful database information (in json format).
Get started
Download the .NET Core SDK 2.1.300 or newer. Once installed, run this command:
dotnet tool install -g dotnet-dbinfo
Usage
Usage: dotnet dbinfo databasetype server database user password [resultpath]
Arguments:
databasetype Type of the database server (now only sqlserver supported)
server Name of the database server
database Name of the database instance
user Login name of the user
password Password of the user
resultpath (OPTIONAL) Full path of the result text file
Example:
dotnet dbinfo sqlserver .\SQLEXPRESS master sa Pass1234
or
dotnet dbinfo sqlserver .\SQLEXPRESS master sa Pass1234 c:\temp\res.json
Hint: The result path must be exist and the user must have the necessary permissions for the database!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.1
- No dependencies.