Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $user = "cityeyes"
- $pass= "ironyun"
- $secpasswd = ConvertTo-SecureString $pass -AsPlainText -Force
- $credential = New-Object System.Management.Automation.PSCredential($user, $secpasswd)
- $url = "http://172.16.15.108/cn/3.1.0-patch/IV_RealtimeVFEngine-patch-3.1.0.20170102.exe"
- $output = "patch.exe"
- Invoke-WebRequest $url -OutFile $output -Credential $credential
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement