Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $url = "http://usiqhs0wv06srv.ad005.onehc.net:8081/artifactory/UltrasoundOTS-cache/dcmtk.zip"
  2. $targetpackage = "d:\temp\DCMTK.zip"
  3.  
  4. if(!(Test-Path -path $targetpackage))
  5. {
  6.     New-Item -ItemType Directory -Force -Path "d:\temp"
  7. }
  8.  
  9. Invoke-WebRequest $url -OutFile $targetpackage -TimeoutSec 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement