SQL Server

-d, --database

The name of the database to script. This value is required.

-s, --server

Name or IP address of the database server (if non-default instance is used, specify SERVERNAME\INSTANCENAME here).

-p, --port

Default value is 1433.

-u, --username

--password

--auth

Authentication type to use:

  • Windows

  • SqlServer

  • AadManagedIdentity

  • AadPassword

  • AadIntegrated

  • AadMfa

Default value is Windows.

--netlib

Network library to use (Named pipes, TCP/IP, Shared memory).

--encrypted

--trust-server-certificate

Last updated