Skip to content

Instantly share code, notes, and snippets.

@yashodhank
Forked from brock8503/GamerSetup.ps1
Created September 13, 2022 11:02
Show Gist options
  • Select an option

  • Save yashodhank/08a09d71f04d87aef41c484cde3eb1ce to your computer and use it in GitHub Desktop.

Select an option

Save yashodhank/08a09d71f04d87aef41c484cde3eb1ce to your computer and use it in GitHub Desktop.

Revisions

  1. @brock8503 brock8503 revised this gist Apr 10, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -42,8 +42,8 @@ Expand-Archive graphic.zip
    & ".\graphic\Cloud-GPU-Updater-master\GPUUpdaterTool.ps1"

    # Todo fix this
    # curl -L https://rzr.to/thx-spatial-audio-download -o THXSpatialInstaller_V1.0.128.164.exe

    curl -L https://rzr.to/thx-spatial-audio-download -o THXSpatialInstaller.exe
    .\THXSpatialInstaller.exe

    # Run this to download and run
    # Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/brock8503/926779333ce4639f6532ede121e711c3/raw/GamerSetup.ps1'))
  2. @brock8503 brock8503 revised this gist Apr 8, 2021. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -41,6 +41,10 @@ Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/
    Expand-Archive graphic.zip
    & ".\graphic\Cloud-GPU-Updater-master\GPUUpdaterTool.ps1"

    # Todo fix this
    # curl -L https://rzr.to/thx-spatial-audio-download -o THXSpatialInstaller_V1.0.128.164.exe


    # Run this to download and run
    # Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/brock8503/926779333ce4639f6532ede121e711c3/raw/GamerSetup.ps1'))

  3. @brock8503 brock8503 revised this gist Apr 8, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -26,7 +26,7 @@ msiexec /i /qn epic.msi
    # Install star citizen
    # TODO Fix this
    Invoke-Webrequest -Uri https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe -OutFile RSI.exe
    RSI.exe
    .\RSI.exe

    $ws = New-Object -ComObject WScript.Shell;
    $s = $ws.CreateShortcut("$env:userprofile\Desktop\tscon.lnk");
    @@ -41,5 +41,6 @@ Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/
    Expand-Archive graphic.zip
    & ".\graphic\Cloud-GPU-Updater-master\GPUUpdaterTool.ps1"

    # Run this to download and run
    # Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/brock8503/926779333ce4639f6532ede121e711c3/raw/GamerSetup.ps1'))

  4. @brock8503 brock8503 revised this gist Apr 8, 2021. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -41,3 +41,5 @@ Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/
    Expand-Archive graphic.zip
    & ".\graphic\Cloud-GPU-Updater-master\GPUUpdaterTool.ps1"

    # Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/brock8503/926779333ce4639f6532ede121e711c3/raw/GamerSetup.ps1'))

  5. @brock8503 brock8503 revised this gist Apr 6, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -24,6 +24,7 @@ choco install moonlight-qt -y
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi
    msiexec /i /qn epic.msi
    # Install star citizen
    # TODO Fix this
    Invoke-Webrequest -Uri https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe -OutFile RSI.exe
    RSI.exe

    @@ -38,4 +39,5 @@ choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationF
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    & ".\graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
    & ".\graphic\Cloud-GPU-Updater-master\GPUUpdaterTool.ps1"

  6. @brock8503 brock8503 revised this gist Apr 25, 2020. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,10 @@

    # https://lg.io/2015/07/05/revised-and-much-faster-run-your-own-highend-cloud-gaming-service-on-ec2.html
    # https://medium.com/@bmatcuk/gaming-on-amazon-s-ec2-83b178f47a34
    #
    # ## Additional reading
    # https://gstreamer.freedesktop.org/documentation/tutorials/basic/streaming.html?gi-language=c
    # https://trac.ffmpeg.org/wiki/StreamingGuide

    # ### Setup
    # Create and AWS account
    @@ -34,4 +38,4 @@ choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationF
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    & ".\graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
    & ".\graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
  7. @brock8503 brock8503 revised this gist Apr 5, 2020. No changes.
  8. @brock8503 brock8503 revised this gist Apr 4, 2020. No changes.
  9. @brock8503 brock8503 revised this gist Apr 3, 2020. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -24,8 +24,10 @@ Invoke-Webrequest -Uri https://install.robertsspaceindustries.com/star-citizen/R
    RSI.exe

    $ws = New-Object -ComObject WScript.Shell;
    $s = $ws.CreateShortcut("C:\Temp\test.lnk");
    $s.TargetPath = %TARGET%; $s.Save()
    $s = $ws.CreateShortcut("$env:userprofile\Desktop\tscon.lnk");
    $s.TargetPath = "C:\Windows\System32\tscon.exe";
    $s.Arguments = "%sessionname% /dest:console";
    $s.Save()

    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"' -y
  10. @brock8503 brock8503 revised this gist Apr 3, 2020. No changes.
  11. @brock8503 brock8503 revised this gist Apr 3, 2020. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -22,9 +22,14 @@ msiexec /i /qn epic.msi
    # Install star citizen
    Invoke-Webrequest -Uri https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe -OutFile RSI.exe
    RSI.exe

    $ws = New-Object -ComObject WScript.Shell;
    $s = $ws.CreateShortcut("C:\Temp\test.lnk");
    $s.TargetPath = %TARGET%; $s.Save()

    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"' -y
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    & ".\graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
    & ".\graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
  12. @brock8503 brock8503 revised this gist Apr 3, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -27,4 +27,4 @@ choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationF
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    "graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
    & ".\graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
  13. @brock8503 brock8503 revised this gist Apr 3, 2020. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -14,16 +14,16 @@
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    # Install steam
    # invoke-webrequest -Uri https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe -OutFile SteamSetup.exe`
    choco install steam
    choco install moonlight-qt
    choco install steam -y
    choco install moonlight-qt -y
    # Install epic
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi
    msiexec /i /qn epic.msi
    # Install star citizen
    Invoke-Webrequest -Uri https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe -OutFile RSI.exe
    RSI.exe
    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"' -y
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
  14. @brock8503 brock8503 revised this gist Apr 3, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,7 @@ Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/l
    msiexec /i /qn epic.msi
    # Install star citizen
    Invoke-Webrequest -Uri https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe -OutFile RSI.exe
    msiexec /i /qn RSI.msi
    RSI.exe
    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
  15. @brock8503 brock8503 revised this gist Apr 3, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -21,6 +21,7 @@ Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/l
    msiexec /i /qn epic.msi
    # Install star citizen
    Invoke-Webrequest -Uri https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe -OutFile RSI.exe
    msiexec /i /qn RSI.msi
    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
  16. @brock8503 brock8503 revised this gist Apr 3, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -19,6 +19,8 @@ choco install moonlight-qt
    # Install epic
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi
    msiexec /i /qn epic.msi
    # Install star citizen
    Invoke-Webrequest -Uri https://install.robertsspaceindustries.com/star-citizen/RSI-Setup-1.4.0.exe -OutFile RSI.exe
    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
  17. @brock8503 brock8503 revised this gist Apr 3, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -18,6 +18,7 @@ choco install steam
    choco install moonlight-qt
    # Install epic
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi
    msiexec /i /qn epic.msi
    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
  18. @brock8503 brock8503 revised this gist Apr 1, 2020. No changes.
  19. @brock8503 brock8503 revised this gist Mar 30, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManage
    choco install steam
    choco install moonlight-qt
    # Install epic
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi`
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi
    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
  20. @brock8503 brock8503 revised this gist Mar 29, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManage
    # Install steam
    # invoke-webrequest -Uri https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe -OutFile SteamSetup.exe`
    choco install steam
    choco install moonlight-qt
    # Install epic
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi`
    # Install ssh
  21. @brock8503 brock8503 revised this gist Mar 29, 2020. 1 changed file with 4 additions and 5 deletions.
    9 changes: 4 additions & 5 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -10,10 +10,6 @@
    # Create a g3s.xlarge instance type based on a Window 2019 AMI
    # Set key-value credentials and download .pem
    # Once running right-click and "get windows credentials"
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    "graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
    # Disable the basic display in Device Manager
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    # Install steam
    @@ -23,4 +19,7 @@ choco install steam
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi`
    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    Restart-Computer
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    "graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
  22. @brock8503 brock8503 revised this gist Mar 29, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    "GPU Updater Tool.ps1"
    "graphic\Cloud-GPU-Updater-master\GPU Updater Tool.ps1"
    # Disable the basic display in Device Manager
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    # Install steam
  23. @brock8503 brock8503 revised this gist Mar 29, 2020. No changes.
  24. @brock8503 brock8503 revised this gist Mar 29, 2020. No changes.
  25. @brock8503 brock8503 revised this gist Mar 29, 2020. 1 changed file with 16 additions and 16 deletions.
    32 changes: 16 additions & 16 deletions GamerSetup.ps1
    Original file line number Diff line number Diff line change
    @@ -1,26 +1,26 @@
    REM ## Overview
    REM Instructions on how to game in the cloud inspired by:
    # ## Overview
    # Instructions on how to game in the cloud inspired by:

    REM https://lg.io/2015/07/05/revised-and-much-faster-run-your-own-highend-cloud-gaming-service-on-ec2.html
    REM https://medium.com/@bmatcuk/gaming-on-amazon-s-ec2-83b178f47a34
    # https://lg.io/2015/07/05/revised-and-much-faster-run-your-own-highend-cloud-gaming-service-on-ec2.html
    # https://medium.com/@bmatcuk/gaming-on-amazon-s-ec2-83b178f47a34

    REM ### Setup
    REM Create and AWS account
    REM Click EC2 and Instances
    REM Create a g3s.xlarge instance type based on a Window 2019 AMI
    REM Set key-value credentials and download .pem
    REM Once running right-click and "get windows credentials"
    REM Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    # ### Setup
    # Create and AWS account
    # Click EC2 and Instances
    # Create a g3s.xlarge instance type based on a Window 2019 AMI
    # Set key-value credentials and download .pem
    # Once running right-click and "get windows credentials"
    # Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    "GPU Updater Tool.ps1"
    REM Disable the basic display in Device Manager
    # Disable the basic display in Device Manager
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    REM Install steam
    REM invoke-webrequest -Uri https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe -OutFile SteamSetup.exe`
    # Install steam
    # invoke-webrequest -Uri https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe -OutFile SteamSetup.exe`
    choco install steam
    REM Install epic
    # Install epic
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi`
    REM Install ssh
    # Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    Restart-Computer
  26. @brock8503 brock8503 renamed this gist Mar 29, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  27. @brock8503 brock8503 revised this gist Mar 29, 2020. No changes.
  28. @brock8503 brock8503 revised this gist Mar 29, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.bat
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,7 @@ REM Once running right-click and "get windows credentials"
    REM Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    "GPU Updater Tool.ps1"
    REM Disable the basic display in Device Manager
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    REM Install steam
  29. @brock8503 brock8503 revised this gist Mar 29, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions README.bat
    Original file line number Diff line number Diff line change
    @@ -11,15 +11,15 @@ REM Create a g3s.xlarge instance type based on a Window 2019 AMI
    REM Set key-value credentials and download .pem
    REM Once running right-click and "get windows credentials"
    REM Update the graphics drivers with these scripts https://github.com/jamesstringerparsec/Cloud-GPU-Updater
    invoke-webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Invoke-Webrequest -Uri https://github.com/jamesstringerparsec/Cloud-GPU-Updater/archive/master.zip -OutFile graphic.zip
    Expand-Archive graphic.zip
    REM Disable the basic display in Device Manager
    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
    REM Install steam
    REM invoke-webrequest -Uri https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe -OutFile SteamSetup.exe`
    choco install steam
    REM Install epic
    invoke-webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi`
    Invoke-Webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi`
    REM Install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    Restart-Computer
  30. @brock8503 brock8503 revised this gist Mar 29, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion README.bat
    Original file line number Diff line number Diff line change
    @@ -21,4 +21,5 @@ choco install steam
    REM Install epic
    invoke-webrequest -Uri https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi -OutFile epic.msi`
    REM Install ssh
    choco install ssh
    choco install win32-openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'
    Restart-Computer