Update Script.ps1

master
Chris Nutter 2023-09-04 09:44:29 -07:00
parent d99254d706
commit be16b86396
1 changed files with 8 additions and 0 deletions

View File

@ -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}"