RosettaCodeData/Task/Web-scraping/PowerShell/web-scraping-1.psh
2017-09-25 22:28:19 +02:00

4 lines
165 B
Text

$wc = New-Object Net.WebClient
$html = $wc.DownloadString('http://tycho.usno.navy.mil/cgi-bin/timer.pl')
$html -match ', (.*) UTC' | Out-Null
Write-Host $Matches[1]