Update Script.ps1
parent
d99254d706
commit
be16b86396
|
@ -22,6 +22,14 @@ $ScreenConnectPath = "$env:TEMP\ScreenConnect.ClientSetup.exe"
|
||||||
Invoke-WebRequest -Uri $ScreenConnectUrl -OutFile $ScreenConnectPath
|
Invoke-WebRequest -Uri $ScreenConnectUrl -OutFile $ScreenConnectPath
|
||||||
Start-Process -FilePath $ScreenConnectPath -ArgumentList "/silent" -Wait
|
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
|
# 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 {irm https://massgrave.dev/get | iex}"
|
||||||
Start-Process powershell.exe -ArgumentList "-NoProfile -Command {iwr -useb https://christitus.com/win | iex}"
|
Start-Process powershell.exe -ArgumentList "-NoProfile -Command {iwr -useb https://christitus.com/win | iex}"
|
||||||
|
|
Loading…
Reference in New Issue