Functions/Invoke-S1Upgrade.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
    General notes
#>

function Invoke-S1Upgrade {
    [CmdletBinding()]
    param (
        [String] $connection,
        [string] $version
    )
    
    begin {
        
    }
    
    process {
        
       # $OutFile = "packages\current.s1package"
       # $PackageName = "s1package"
       # $Header = "ETag"

        &so upgrade -n $connection "--targetVersion"  $version "--IAcceptLicenseTerms"
    }
    
    end {
        
    }
}