Private/Validate-DeploymentParameters.ps1

function Validate-DeploymentParameters {
    [cmdletbinding()]
    param(
        [string[]]$Required,
        [string[]]$Parameters
    )
    foreach($RequiredParam in $Required)
    {
        if($Parameters -notcontains $RequiredParam)
        {
            return $false
        }
    }
    $true
}