mirror of
https://github.com/W4RH4WK/Debloat-Windows-10.git
synced 2024-11-17 15:25:37 +00:00
21 lines
689 B
PowerShell
21 lines
689 B
PowerShell
# Description:
|
|
# This script installs the sysinternals suit into your default drive's root
|
|
# directory.
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
$download_uri = "https://download.sysinternals.com/files/SysinternalsSuite.zip"
|
|
|
|
echo "Downloading SysinternalsSuite zipfile"
|
|
|
|
# TODO replace this with wget when it works again on a clean install
|
|
$wc = new-object net.webclient
|
|
$wc.DownloadFile($download_uri, "/SysinternalsSuite.zip")
|
|
|
|
echo "Extracting SysinternalsSuite zipfile"
|
|
Add-Type -AssemblyName "system.io.compression.filesystem"
|
|
[io.compression.zipfile]::ExtractToDirectory("/SysinternalsSuite.zip", "/Sysinternals")
|
|
|
|
echo "Removing zipfile"
|
|
rm "/SysinternalsSuite.zip"
|