# Airport Code Reference # Quick reference for common IATA airport codes Write-Host "`n========================================" -ForegroundColor Cyan Write-Host " Common Airport Codes (IATA)" -ForegroundColor Cyan Write-Host "========================================`n" -ForegroundColor Cyan Write-Host "πŸ‡¨πŸ‡¦ CANADA" -ForegroundColor Yellow Write-Host " YOW - Ottawa" Write-Host " YYZ - Toronto" Write-Host " YUL - Montreal" Write-Host " YVR - Vancouver" Write-Host " YYC - Calgary" Write-Host " YEG - Edmonton" Write-Host " YWG - Winnipeg" Write-Host " YHZ - Halifax" Write-Host "`n🏝️ CARIBBEAN" -ForegroundColor Yellow Write-Host " CUN - Cancun, Mexico" Write-Host " PUJ - Punta Cana, Dominican Republic" Write-Host " MBJ - Montego Bay, Jamaica" Write-Host " NAS - Nassau, Bahamas" Write-Host " SJU - San Juan, Puerto Rico" Write-Host " BGI - Bridgetown, Barbados" Write-Host " ANU - Antigua" Write-Host " STI - Santiago, Dominican Republic" Write-Host "`nπŸ‡ΊπŸ‡Έ USA - EAST COAST" -ForegroundColor Yellow Write-Host " JFK - New York (JFK)" Write-Host " EWR - Newark" Write-Host " BOS - Boston" Write-Host " PHL - Philadelphia" Write-Host " DCA - Washington DC" Write-Host " MIA - Miami" Write-Host " FLL - Fort Lauderdale" Write-Host " MCO - Orlando" Write-Host " TPA - Tampa" Write-Host "`nπŸ‡ΊπŸ‡Έ USA - WEST COAST" -ForegroundColor Yellow Write-Host " LAX - Los Angeles" Write-Host " SFO - San Francisco" Write-Host " SAN - San Diego" Write-Host " SEA - Seattle" Write-Host " PDX - Portland" Write-Host " LAS - Las Vegas" Write-Host " PHX - Phoenix" Write-Host "`n🏝️ HAWAII" -ForegroundColor Yellow Write-Host " HNL - Honolulu" Write-Host " OGG - Maui" Write-Host " KOA - Kona" Write-Host " LIH - Lihue (Kauai)" Write-Host "`nπŸ‡ͺπŸ‡Ί EUROPE" -ForegroundColor Yellow Write-Host " LHR - London Heathrow" Write-Host " LGW - London Gatwick" Write-Host " CDG - Paris Charles de Gaulle" Write-Host " FCO - Rome" Write-Host " BCN - Barcelona" Write-Host " MAD - Madrid" Write-Host " AMS - Amsterdam" Write-Host " FRA - Frankfurt" Write-Host " MUC - Munich" Write-Host " ZRH - Zurich" Write-Host " VCE - Venice" Write-Host " ATH - Athens" Write-Host " LIS - Lisbon" Write-Host " DUB - Dublin" Write-Host "`n🌏 ASIA" -ForegroundColor Yellow Write-Host " NRT - Tokyo Narita" Write-Host " HND - Tokyo Haneda" Write-Host " ICN - Seoul" Write-Host " PVG - Shanghai" Write-Host " PEK - Beijing" Write-Host " HKG - Hong Kong" Write-Host " SIN - Singapore" Write-Host " BKK - Bangkok" Write-Host " DXB - Dubai" Write-Host "`nπŸ‡²πŸ‡½ MEXICO" -ForegroundColor Yellow Write-Host " CUN - Cancun" Write-Host " MEX - Mexico City" Write-Host " PVR - Puerto Vallarta" Write-Host " CZM - Cozumel" Write-Host " SJD - Los Cabos" Write-Host " GDL - Guadalajara" Write-Host "`n========================================`n" -ForegroundColor Cyan $search = Read-Host "Search for an airport by name (or press Enter to exit)" if ($search -ne "") { Write-Host "`nSearching for '$search'...`n" -ForegroundColor Yellow # Simple search in this script's content $matches = Select-String -Path $PSCommandPath -Pattern $search -CaseSensitive:$false if ($matches) { $matches | ForEach-Object { Write-Host $_.Line } } else { Write-Host "No matches found. Try searching online: https://www.iata.org/en/publications/directories/code-search/" -ForegroundColor Gray } Write-Host "" } Write-Host "Need more codes? Visit: https://www.iata.org/en/publications/directories/code-search/`n" -ForegroundColor Gray