example-scripts/move-single-solution.ps1

$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$root = Split-Path -Parent $here

Import-Module "$root\crm-ci.psd1"

# Export and Import
Move-RegentSolution `
  -SolutionName "RecordLocked" `
  -SourceCrmInstance CRMRECRUIT `
  -DestinationCrmInstance CRMRECRUITTEST `
  -Managed $false `
  -PublishCustomizations $false `
  -Emails "dhines@regent.edu" `
  -CommitMessage "Test commit 4" `
  -ImportTime "2:12PM" `
  -Force `
  -Verbose


# Export Only
Export-RegentSolution `
  -SolutionName RecordLocked `
  -conn (Get-RegentConnection -CrmInstance CRMRECRUITTEST)