Skip to content

Instantly share code, notes, and snippets.

@toddboyd
Created June 15, 2021 21:19
Show Gist options
  • Save toddboyd/f3c297aaac09ce7c92016f4479408c5b to your computer and use it in GitHub Desktop.
Save toddboyd/f3c297aaac09ce7c92016f4479408c5b to your computer and use it in GitHub Desktop.
Populate Test Data PowerShell Script
# Populate test data
Write-Host -ForegroundColor green "Creating test data..."
& sfdx force:data:tree:import -u $orgName --plan [json data file]
if ($LASTEXITCODE -ne 0) {
exit 1
}
Write-Host ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment