document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. # Code Snippet from aperturescience.su
  2. # Parameters
  3.     [Parameter(Position=1, Mandatory=$false, HelpMessage="Page Listing")]$filelist="filelist.txt",
  4.     [Parameter(Position=2, Mandatory=$false, HelpMessage="base url")]$baseurl = "http://localhost/",
  5.  
  6. # Body
  7.  
  8. $pages = Get-Content $filelist
  9.  
  10. foreach ($page in $pages)
  11. {
  12.     $url = $baseurl + $page
  13.     wget $url -O output.file
  14. }
  15.  
  16. # Code Snippet from aperturescience.su
');