I had posted this a while back under another thread but thought i could use a topic of its own. I’m not a scripting expert but it gets the job done and is slightly configurable.
Here is the code
Here is the way i use it but running code live from the internet is probably not advised but do what you want.
The defaults are to install the latest beta into your system32 directory but if you want to pass parameters you can. There is a tiny bit of error checking etc. I am also willing to put in new features if someone can think of something. I am also open to suggestions on how to rework something.
Invoke-Expression ((Invoke-WebRequest -Uri “https://gist.githubusercontent.com/justusiv/1ff2ad273cea3e33ca4acc5cab24c8e0/raw”).content)
install-rclone