Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1.  
  2. $user = "cityeyes"
  3. $pass= "ironyun"
  4. $secpasswd = ConvertTo-SecureString $pass -AsPlainText -Force
  5. $credential = New-Object System.Management.Automation.PSCredential($user, $secpasswd)
  6.  
  7. $url = "http://172.16.15.108/cn/3.1.0-patch/IV_RealtimeVFEngine-patch-3.1.0.20170102.exe"
  8. $output = "patch.exe"
  9.  
  10. Invoke-WebRequest $url -OutFile $output -Credential $credential
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement