You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
689 B
20 lines
689 B
# 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"
|
|
|