functions/private/Invoke-ElvCleanup.ps1

function Invoke-ElvCleanUp {
    [cmdletbinding()]
    param(
        [string]
        $CleanupPath
    )

    if ((Test-Path -Path $CleanupPath)) {

        Write-Verbose "Removing [$CleanupPath]..."
        
        Remove-Item -Path $CleanupPath -Force

    } else {

        Write-Error "File -> [$CleanupPath] not found!"

    }
}