Functions/Connect-Something.ps1
function Connect-Something { [CmdletBinding()] param ( [Parameter()] [string[]] [ValidateSet("AzureAD", "MSOL", "MSGraph")] $Features ) if ($Features.Contains("MSOL")) { 1234 } return $Features } |