-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathToolBox.ps1
More file actions
105 lines (98 loc) · 4.9 KB
/
ToolBox.ps1
File metadata and controls
105 lines (98 loc) · 4.9 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<#
.Synopsis
ToolBox.ps1
.DESCRIPTION
This script is a menu to the other tools
.EXAMPLES
Invoke-ToolBox
.UPDATES
2025/11/03:v1.2 - 1. JG - Added SLIC
#>
Function EndScript{
break
}
Function Invoke-ToolBox{
Clear-Host
$Ver=1.2
$text = @"
v$Ver
_____ _ ___
|_ _|__ ___| | | _ ) _____ __
| |/ _ \/ _ \ | | _ \/ _ \ \ /
|_|\___/\___/_| |___/\___/_\_\
by: Jim Gandy
"@
#IE Fix
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Internet Explorer\Main" -Name "DisableFirstRunCustomize" -Value 2
Function ShowMenu{
do
{
$selection=""
Clear-Host
Write-Host $text
Write-Host ""
Write-Host "This code is under the MIT License. See Repository for Licensing/Support details."
Write-Host ""
Write-Host "==================== Please make a selection ====================="
Write-Host ""
Write-Host "1) BOILER - Finds Windows Update Errors"
Write-Host "2) DART - Installs Dell/MS Updates"
Write-Host "3) FLEP - Filters Event Logs"
Write-Host "4) FLCkr - Looks up Mini Filter Drivers"
Write-Host "5) LogCollector - Make log collection easier"
Write-Host "6) DriFT - Driver and Firmware Tool ***INTERNAL ONLY***"
Write-Host "7) CluChk - Cluster Checker ***INTERNAL ONLY***"
Write-Host "8) SLIC - Switch Log InspeCtor ***INTERNAL ONLY***"
Write-Host "Q to Quit"
Write-Host ""
$selection = Read-Host "Type a number and press [Enter]"
}
until ($selection -match '[1-8,qQ,hH]')
$Global:WindowsUpdates=$False
$Global:DriverandFirmware=$False
$Global:Confirm=$False
IF($selection -imatch 'h'){
Clear-Host
Write-Host ""
Write-Host "What's New in"$Ver":"
Write-Host $WhatsNew
Write-Host ""
Write-Host "Useage:"
Write-Host " Make a select by entering a number from the menu."
Write-Host ""
Write-Host " Example: 1 will run BOILER."
Write-Host ""
Pause
ShowMenu
}
IF($selection -match 1){
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression('$module="BOILER";$repo="PowershellScripts"'+(new-object net.webclient).DownloadString('https://raw.githubusercontent.com/DellProSupportGse/Tools/main/BOILER.ps1'));Invoke-BOILER
}
IF($selection -match 2){
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression('$module="DART";$repo="PowershellScripts"'+(new-object net.webclient).DownloadString('https://raw.githubusercontent.com/DellProSupportGse/Tools/main/DART.ps1'));Invoke-DART
}
IF($selection -match 3){
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression('$module="FLEP";$repo="PowershellScripts"'+(new-object net.webclient).DownloadString('https://raw.githubusercontent.com/DellProSupportGse/Tools/main/FLEP.ps1'));Invoke-FLEP
}
IF($selection -match 4){
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression('$module="FLCkr";$repo="PowershellScripts"'+(new-object System.net.webclient).DownloadString('https://raw.githubusercontent.com/DellProSupportGse/Tools/main/FLCkr.ps1'));Invoke-FLCkr
}
IF($selection -match 5){
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression('$module="LogCollector";$repo="PowershellScripts"'+(new-object System.net.webclient).DownloadString('https://raw.githubusercontent.com/DellProSupportGse/Tools/main/LogCollector.ps1'));Invoke-LogCollector
}
IF($selection -match 6){
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression('$module="RunDriFT";$repo="PowershellScripts"'+(new-object net.webclient).DownloadString('https://raw.githubusercontent.com/DellProSupportGse/source/main/drift.ps1'));Invoke-RunDriFT
}
IF($selection -match 7){
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression('$module="RunCluChk";$repo="PowershellScripts"'+(new-object net.webclient).DownloadString('https://raw.githubusercontent.com/DellProSupportGse/source/main/cluchk.ps1'));Invoke-RunCluChk
}
IF($selection -match 8){
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Invoke-Expression('$module="RunSLIC";$repo="PowershellScripts"'+(new-object net.webclient -Property @{ Encoding = [System.Text.Encoding]::UTF8 }).DownloadString('https://raw.githubusercontent.com/DellProSupportGse/source/main/slic.ps1'));Invoke-SLIC
}
IF($selection -imatch 'q'){
Write-Host "Bye Bye..."
EndScript
}
}#End of ShowMenu
ShowMenu
}