Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 264 Bytes
function Get-FlightStatus {
param($query="dl269")
$result = Invoke-WebRequest "https://www.google.com/search?q=flight status for $query"
$result.AllElements |
Where Class -eq "obcontainer" |
Select -ExpandProperty innerText
}
Get-FlightStatus