Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » PowerShell   (RSS)

Downloading files from the internet in PowerShell (with progress)

Ok, so the easiest way (that I know of) to download files in powershell from the internet is to use the .net WebClient. The simple way I started with was the two liner: $client = New-Object "System.Net.WebClient" $client.DownloadFile("http://somesite.com/largefile.zip","c:\temp\largefile.zip"
Posted by Jason Niver | 0 Comments
Filed under:

Importing a File Share into Document Library via PowerShell

So today I was asked for a way to automate importing files from a file share into a document library.  For this, ACL's were not an issue, however using PS's Get-ACL function can get you that as well to match the insert. Here is what I came up with
Posted by Jason Niver | 1 Comments
Filed under: ,
 
Page view tracker