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 "AcademicProgramChanges" `
  -SourceCrmInstance CRMRECRUITTEST `
  -DestinationCrmInstance CRMRECRUIT `
  -Managed $false `
  -Emails "dhines@regent.edu" `
  -CommitMessage "Added AcademicProgramChanges" `
  -TargetCrmVersion "8.1" `
  -Force `
  -Verbose
  # -ImportTime "12:27PM" `
  # -PublishCustomizations $false `


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