Populates a database with sample data.
The cmdlet populates databases with realistic random data, such as IPv4 and IPv6 addresses, MAC addresses, file extensions, file names, file paths, and various file‑related values.
Invoke-DevartPopulate -DataGeneratorProject <string> [-Connection <object>] [<CommonParameters>]
Specifies a data generation template to use.
-DataGeneratorProject <string>
| Property | Default value |
|---|---|
| Required | True |
| Position | Named |
| Default value | - |
| Accept pipeline input | False |
| Accept wildcard characters | False |
Specifies the database connection to the server where the database is populated with test data. You can provide one of the following options:
DevartDatabaseConnectionInfo object containing connection settings.-Connection <object>
| Property | Default value |
|---|---|
| Required | False |
| Position | Named |
| Default value | - |
| Accept pipeline input | False |
| Accept wildcard characters | False |
<CommonParameters>
This cmdlet supports these common parameters:
Verbose – Provides detailed output about the command operation.Debug – Provides debugging information.ErrorAction – Specifies how to respond to errors.ErrorVariable – Stores error messages in a variable.WarningAction – Specifies how to respond to warnings.WarningVariable – Stores warning messages in a variable.InformationAction – Specifies how informational messages are handled.InformationVariable – Stores informational messages in a variable.OutBuffer – Controls the number of objects buffered before output.PipelineVariable – Stores the current pipeline object in a variable.OutVariable – Stores output objects in a variable.For more information, see About Common Parameters.
System.Boolean (returns true on success and false otherwise)
System.Boolean returns:
true if the operation was successful.false if the operation failed.Invoke-DevartPopulate -Connection $connection -DataGeneratorProject "C:\Temp\Template.dgen"
For information on additional command-line options, see Command-line options.