I made a change in the blogger configuration to ease the later work when blogging. It is possible that older entries are not correctly formatted.

Showing posts with label download. Show all posts
Showing posts with label download. Show all posts

Thursday, 20 June 2013

Using the powershell to download a file

A simple script to download a file:

$url="http://hostname/xxxxFiletoDownload"

$thisir =pwd

$path = $thisdir.toString() "\xxxxFiletoDownload"


$client = new-object System.Net.WebClient

$client.DownloadFile( $url, $path )