Guest User

Untitled

a guest
Jun 5th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Import-Module BitsTransfer
  2. foreach($line in Get-Content .\plik.txt){
  3.    
  4.     if($line){        
  5.         $arr = $line.Split("|")
  6.         Write-Host $arr[0]
  7.         $url = $arr[1]
  8.         $output = $arr[0]
  9.         Start-BitsTransfer -Source $url -Destination $output        
  10.     }    
  11. }
Advertisement
Add Comment
Please, Sign In to add comment