|
|
Browse by Tags
All Tags » PoSH » Web
-
One of functions that i use very often is Get-WwwString. All what it does - downloads page from web and returns it in string. It is like unix command wget $url -O -
.Net have WebClient objects for doing things like this, so you just need to wrap it into function easy to use in PowerShell.
function Get-WwwContent ([string]$url, ...
|
|
|