Execute Database Scripts on Disk
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

Execute Database Scripts on Disk

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

Execute Database Scripts on Disk

Finds files matching a search mask and executes those scripts against a database connection.

Script usage:

Execute-DatabaseScripts(
	Connection: <text>,
	[Directory: <text>],
	[Include: <@(text)>],
	[Exclude: <@(text)>]
);

This operation may be prefixed with Core::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
Database connection
text
Connection
This argument is required.
In directory
text
Directory
Include (default)
@(text)
Include
See KB#1119 to learn more about masking syntax.
Exclude
@(text)
Exclude
See KB#1119 to learn more about masking syntax.

Was this article helpful?