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



Authentication type to use:

  • Windows

  • SqlServer

  • AadManagedIdentity

  • AadPassword

  • AadIntegrated

  • AadMfa

Default value is Windows.


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



Last updated