Functions/Invoke-SoExe.ps1

<#
.SYNOPSIS
    Short description
.DESCRIPTION
    Long description
.EXAMPLE
    PS C:\> <example usage>
    Explanation of what the example does
.INPUTS
    Inputs (if any)
.OUTPUTS
    Output (if any)
.NOTES
    invokes https://docs.sentryone.com/help/sentryone-installer#install-sentryone
#>

function Invoke-SoExe{
   [CmdletBinding()]
    param (
        [string] $action,
        [string] $connection, #ConnectionName,
        [string] $serverName,
        [string] $databaseName #connectionDatabase,
    )
    
   Invoke-So @PSBoundParameters

}