1 2 3 4 | $client = New-Object System.Net.Http.HttpClient $response = $client.GetAsync("https://www.example.com").Result $content = $response.Content.ReadAsStringAsync().Result Write-Output $content |
1 2 3 4 | $client = New-Object System.Net.Http.HttpClient $response = $client.GetAsync("https://www.example.com").Result $content = $response.Content.ReadAsStringAsync().Result Write-Output $content |