FrameworkTemplate/SolutionTemplate/Scripts/ExportPreAction.ps1

<#
.SYNOPSIS
    Executes pre-export actions before a solution is exported from the source environment.
 
.DESCRIPTION
    This script runs automatically before the solution export process begins.
    Use this to perform pre-export operations like data cleanup or configuration updates.
 
.PARAMETER Conn
    The connection object to the Dataverse environment.
#>

Param(
    [System.Object] [Parameter(Mandatory = $true)] $Conn
)

Write-Host "Executing Export Pre Action"

# Add your custom pre-export logic here