|
@ -1,6 +1,7 @@ |
|
|
# Description: |
|
|
# Description: |
|
|
# This script will use Windows package manager manager to bootstrap chocolatey |
|
|
# This script will use Windows package manager to bootstrap Chocolatey |
|
|
# and install a list of packages. |
|
|
# and install a list of packages. Script will also install Sysinternals |
|
|
|
|
|
# Utilities into your default drive's root directory. |
|
|
|
|
|
|
|
|
$packages = @( |
|
|
$packages = @( |
|
|
"notepadplusplus.install" |
|
|
"notepadplusplus.install" |
|
@ -28,13 +29,13 @@ $packages = @( |
|
|
#"wireshark" |
|
|
#"wireshark" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
echo "Setting up Chocolatey" |
|
|
echo "Setting up Chocolatey software package manager" |
|
|
Get-PackageProvider -Name chocolatey -Force |
|
|
Get-PackageProvider -Name chocolatey -Force |
|
|
|
|
|
|
|
|
echo "Installing Packages" |
|
|
echo "Installing Packages" |
|
|
Install-Package -Name $packages -Force |
|
|
Install-Package -Name $packages -Force |
|
|
|
|
|
|
|
|
echo "Installing Sysinternals to C:\Sysinternals" |
|
|
echo "Installing Sysinternals Utilities to C:\Sysinternals" |
|
|
$download_uri = "https://download.sysinternals.com/files/SysinternalsSuite.zip" |
|
|
$download_uri = "https://download.sysinternals.com/files/SysinternalsSuite.zip" |
|
|
$wc = new-object net.webclient |
|
|
$wc = new-object net.webclient |
|
|
$wc.DownloadFile($download_uri, "/SysinternalsSuite.zip") |
|
|
$wc.DownloadFile($download_uri, "/SysinternalsSuite.zip") |
|
|