Created
April 18, 2022 15:00
-
-
Save okamos/f3cc03c2215b08a474662b720f599d16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls" | |
$ScriptWebArchive = "https://github.com/parsec-cloud/Parsec-Cloud-Preparation-Tool/archive/master.zip" | |
$LocalArchivePath = "$ENV:UserProfile\Downloads\Parsec-Cloud-Preparation-Tool" | |
(New-Object System.Net.WebClient).DownloadFile($ScriptWebArchive, "$LocalArchivePath.zip") | |
Expand-Archive "$LocalArchivePath.zip" -DestinationPath $LocalArchivePath -Force | |
CD $LocalArchivePath\Parsec-Cloud-Preparation-Tool-master\ | powershell.exe .\Loader.ps1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment