My Toolchain

Bootstrap the bootstrap:

Here is a quick boot strapping powershell:

set-executionpolicy -executionpolicy unrestricted -force
Register-PackageSource -name chocolatey -location -ProviderName chocolatey -trusted -verbose
md "$Env:APPDATA\Console\"
$autorunscript = "$Env:APPDATA\console\cmd_start.bat"
(new-object net.webclient).DownloadString(‘’) > $autorunscript
[IO.File]::WriteAllText( $autorunscript, [IO.File]::ReadAllText($autorunscript).replace("`n?","`r`n"), (new-object System.Text.UTF8Encoding $false) )
$autorunreg = (get-itemproperty -Path "Registry::HKEY_CURRENT_USER\Software\Microsoft\Command Processor" -Name autorun).AutoRun
#checking if the registry key already contains the script, if it doesn't then set it...
if ( $autorunreg.length -gt 1 ) { if ( $autorunreg.Contains( "%appdata%\console\cmd_start.bat" ) -eq $false ) { set-itemproperty -Path "Registry::HKEY_CURRENT_USER\Software\Microsoft\Command Processor" -name AutoRun -value $autorunreg"&""%appdata%\console\cmd_start.bat""" } else { write-host "cmd_start.bat is already present in your AutoRun." -backgroundcolor "darkgreen" } } else { new-itemproperty -Path "Registry::HKEY_CURRENT_USER\Software\Microsoft\Command Processor" -name AutoRun -propertytype string -value """%appdata%\console\cmd_start.bat""" }
$console2settings = "$Env:APPDATA\console\Console.xml"
(new-object net.webclient).DownloadString(‘’) > $console2settings
mkdir $env:userprofile\Documents\WindowsPowerShell
(new-object net.webclient).DownloadString(‘https://gist.githubusercontent.comc/mbrownnycnyc/6664153/raw/a1c604677582a91d3e3ffae46a02640ede811107/Microsoft.PowerShell_profile.ps1’) > $profile
(new-object Net.WebClient).DownloadString("") | iex
install-module PsReadLine
Invoke-WebRequest -Uri -OutFile c:\windows\procexp.exe
Invoke-WebRequest -Uri -OutFile c:\windows\procmon.exe
Invoke-WebRequest -Uri -OutFile c:\windows\psgetsid.exe
Invoke-WebRequest -Uri -OutFile c:\windows\psexec.exe
Invoke-WebRequest -Uri -OutFile c:\windows\regjump.exe
Invoke-WebRequest -Uri -OutFile c:\windows\tcpview.exe
Invoke-WebRequest -Uri -OutFile c:\windows\putty.exe
Invoke-WebRequest -Uri -OutFile c:\windows\pscp.exe
Invoke-WebRequest -Uri -OutFile c:\windows\plink.exe
$packages = ("console2 autohotkey.install tortoisehg 7zip.install ilspy windbg filezilla puretext winscp.install greenshot baretail notepad2 notepadplusplus.install virtualclonedrive pdfcreator spacesniffer wireshark regshot f.lux").split(' ')
foreach ($packagename in $packages ) {
  Install-Package -Name $packagename

psexec.exe -i -s cmd.exe
takeown /F "C:" /A /R /D Y
icacls c: /grant administrators:F /t /c
# and again...
takeown /F "C:" /A /R /D Y
icacls c: /grant administrators:F /t /c

The apps:
Here is a list of apps and configuration that I prefer for my Windows boxen:

  • Helium (
    1. No comments yet.
    1. No trackbacks yet.

    Leave a Reply

    Fill in your details below or click an icon to log in: Logo

    You are commenting using your account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s

    %d bloggers like this: