Picking file names out of a website to download in powershell
问题 Problem: I'm working on making a PowerShell script that will download the sites source code, find all the file targets, and then download said targets. I'm alright for authentication for the moment, so on my test website, I enabled anonymous authentication, enabled directory browsing, and disabled all other default pages, so all I get is a list of files on my site. What I have so far is this: $source = "http://testsite/testfolder/" $webclient = New-Object system.net.webclient $destination =