Invoke-DevartPopulate

Synopsis

Populates a database with sample data.

Description

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.

Syntax

Invoke-DevartPopulate -DataGeneratorProject <string> [-Connection <object>] [<CommonParameters>]

Parameters

-DataGeneratorProject

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

-Connection

Specifies the database connection to the server where the database is populated with test data. You can provide one of the following options:

  • A DevartDatabaseConnectionInfo object containing connection settings.
  • A connection string that defines how to connect to the database.
-Connection <object>
Property Default value
Required False
Position Named
Default value -
Accept pipeline input False
Accept wildcard characters False

Common parameters

<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.

Output

System.Boolean (returns true on success and false otherwise)

System.Boolean returns:

  • true if the operation was successful.
  • false if the operation failed.

Example

Invoke-DevartPopulate -Connection $connection -DataGeneratorProject "C:\Temp\Template.dgen"

Related links

For information on additional command-line options, see Command-line options.