From be16b86396752a1a2e225e6001167eb499a8b8b5 Mon Sep 17 00:00:00 2001 From: Chris Nutter Date: Mon, 4 Sep 2023 09:44:29 -0700 Subject: [PATCH] Update Script.ps1 --- Script.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Script.ps1 b/Script.ps1 index daab1c9..5f9500c 100644 --- a/Script.ps1 +++ b/Script.ps1 @@ -22,6 +22,14 @@ $ScreenConnectPath = "$env:TEMP\ScreenConnect.ClientSetup.exe" Invoke-WebRequest -Uri $ScreenConnectUrl -OutFile $ScreenConnectPath Start-Process -FilePath $ScreenConnectPath -ArgumentList "/silent" -Wait +# Install Discord +$discordURL = "https://discordapp.com/api/download?platform=win" +$discordPath = "$env:USERPROFILE\Downloads\discord-setup.exe" + +Invoke-WebRequest -Uri $discordURL -OutFile $discordPath +Start-Process -FilePath $discordPath -Wait + + # Run commands in new PowerShell instance Start-Process powershell.exe -ArgumentList "-NoProfile -Command {irm https://massgrave.dev/get | iex}" Start-Process powershell.exe -ArgumentList "-NoProfile -Command {iwr -useb https://christitus.com/win | iex}"