Execute script - SoftwareRat/PostPaperspaceScript GitHub Wiki

Execute script on Azure

  1. Use AnyDesk, TeamViewer or VNC, but not RDP for driver reasons
  2. Open elevated Windows PowerShell
  3. Copy paste this into PowerShell:
IF ($PSVersionTable.PSVersion.Major -le 4) {throw "PowerShell version outdated, please see Server 2012 R2 workarround in GitHub", "https://github.com/SoftwareRat/PostAzureScript/wiki/Server2012WAR"}; New-Item -Path 'C:\PaperspaceTools' -ItemType Directory | Out-Null; [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"; (New-Object System.Net.WebClient).DownloadFile("https://github.com/SoftwareRat/PostPaperspaceScript/archive/refs/heads/main.zip", "C:\PaperspaceTools\PostScript.zip"); Expand-Archive -Path "C:\PaperspaceTools\PostScript.zip" -DestinationPath "C:\PaperspaceTools"; Rename-Item -Path 'C:\PaperspaceTools\PostPaperspaceScript-main' -NewName 'Scripts' -Force; Unblock-File -Path "C:\PaperspaceTools\Scripts\PostNV6.ps1"; Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope LocalMachine -Force; Start-Process -FilePath 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -ArgumentList '-File ""C:\PaperspaceTools\Scripts\PostNV6.ps1""'; EXIT
  1. Follow the instructions from the script