Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f2c36f2f34
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (26 sloc) 0.985 kb

PsUrl Utils

Set of commands to download and post to web


  1. Download content from any URL as a string
  2. Download content from any URL to file
  3. POST url encoded form to any URL


For example to download stuff from execute


You can also use pipes

get-url | set-content example.html

Using pipes actully allows running scripts directly from web

get-url | invoke-expression

Another option is to download to file

get-url -ToFile "example.html"


If you have PsGet installed, you can execute:

install-module PsUrl

Or manual steps

1. Copy PsUrl.psm1 to your modules folder (e.g. $Env:PSModulePath\PsUrl\ )
2. Execute Import-Module PsUrl (or add this command to your profile)
3. Enjoy!
Jump to Line
Something went wrong with that request. Please try again.