Updated Install rclone via powershell script (markdown)

justusiv 2017-07-27 11:38:09 -05:00
parent 9b0bbe3897
commit 5a4f0973da

@ -5,14 +5,15 @@ https://forum.rclone.org/t/install-script-for-rclone-on-windows/3149
To use the script you can simply run this line in PowerShell To use the script you can simply run this line in PowerShell
NEEDS ADMIN NEEDS ADMIN
Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content) Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content)
install-rclone install-rclone
As with any code please review it before running it on your system. As with any code please review it before running it on your system.
If you do not want to run this as admin feel free to do something like this. If you do not want to run this as admin feel free to do something like this.
NO ADMIN NEEDED NO ADMIN NEEDED
Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content) Invoke-Expression ((Invoke-WebRequest -Uri "https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw").content)
$silent = mkdir c:\rclone -ErrorAction SilentlyContinue $silent = mkdir c:\rclone -ErrorAction SilentlyContinue
install-rclone -location c:\rclone install-rclone -location c:\rclone