SqlPackage.exe: How to get detailed information about supported parameters

Recently we have received questions about sqlpackage.exe and its supported parameters. In this blog I will share a simple tip to get the help information about all supported parameters and properties for a specific action from the version of sqlpackage.exe that you use.

For each action type, copy and execute the command below.

For Export:

sqlpackage.exe /Action:Export /?

For Import:

sqlpackage.exe /Action:Import /?

For Extract:

sqlpackage.exe /Action:Extract /?

For Publish:

sqlpackage.exe /Action:Publish /?

For DeployReport:

sqlpackage.exe /Action:DeployReport /?

For DriftReport:

sqlpackage.exe /Action:DriftReport /?