function Get-TeamNameForREDx { [CmdletBinding()] param ( [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] [Alias('Name')] $EnvironmentName ) $logLead = (Get-LogLeadName) $lookupTable = @{ "red1" = @{ TeamNames = @(""); } } if ($null -eq $response) { Write-Warning "$logLead : There is no such environment [$EnvironmentName], it doesn't appear ..." } }