//
you're reading...
Uncategorized

Download a file (HTTP) with Powershell


$client = new-object System.Net.WebClient
$client.DownloadFile("http://www.domain.com/file.txt","C:\stuff\whatever.txt")

This is good if you want to download an XML file, now that you have this file you can do some formatting.

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: