Command Line #
Running sqldsc help
will bring up the current command line options. Running sqldsc help command_name
will bring up help for a particular command.
Common commands include:
init
- creates directories and sample filestest
- see what changes it would makeapply
- make changes to the targetsversion
- display the version informationvault
- controls stored logins and passwords. See Credential Vault.update
- checks for updates and allows you to apply themlist
- lists targets and their tags after applying any filters (starting in 1.39.3)
Common Parameters #
--target target_name
- only process one target. This matches the Name OR the FQDN. Applies totest
andapply
--push file_name
- run this SQL file regardless of whether it needs to be run. The file must be identified in asql_file
resource block.