function Select-AlkamiFabServers { <# .SYNOPSIS Filters Service Fabric FAB servers from a list of servers by hostname convention. #> [CmdletBinding()] Param( [AllowNull()] [AllowEmptyCollection()] [Parameter(Mandatory=$true)] [string[]]$Servers ) $result = ($Servers -match "\bFAB") if ($result -eq $false) { return $null } return $result }