-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathScreenShareStart.ps1
More file actions
37 lines (23 loc) · 1.44 KB
/
Copy pathScreenShareStart.ps1
File metadata and controls
37 lines (23 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#Requires -RunAsAdministrator
function Start-PersistentScript {
param (
[string]$Url
)
$command = "powershell -NoExit -ExecutionPolicy Bypass -Command `"try { iex (irm '$Url') } catch { Write-Host `$_ -ForegroundColor Red }; Write-Host ''; Write-Host 'Keeping window open... Do NOT close the CMD window, all progress will be lost' -ForegroundColor Cyan; while (`$true) { Start-Sleep 3600 }`""
Start-Process cmd.exe -Verb RunAs -ArgumentList "/k $command"
}
# -----------------------
# Launch scripts
# -----------------------
Start-PersistentScript "https://raw.githubusercontent.com/JavaXYZZ/ScreenSharing/main/McTools.ps1"
Start-PersistentScript "https://raw.githubusercontent.com/praiselily/lilith-ps/refs/heads/main/Services.ps1"
Start-PersistentScript "https://raw.githubusercontent.com/zedoonvm1/powershell-scripts/refs/heads/main/DoomsDayDetector.ps1"
Start-PersistentScript "https://raw.githubusercontent.com/Enr1c0o/Powershell-Scripts/refs/heads/main/Alt-Detector.ps1"
Start-PersistentScript "https://raw.githubusercontent.com/HadronCollision/PowershellScripts/refs/heads/main/HabibiModAnalyzer.ps1"
Start-PersistentScript "https://raw.githubusercontent.com/praiselily/lilith-ps/refs/heads/main/CommonDirectories.ps1"
# -----------------------
# Open folders
# -----------------------
Start-Process explorer.exe $env:TEMP
Start-Process explorer.exe "shell:recent"
Write-Host "All tools launched yay!!!." -ForegroundColor Green