

Write-Error “Unable to find $sevenZName in the path.” $sevenZPath = $( Get-Command $sevenZName).Definition # Verify I can find UNZIP.EXE in the path. New-Item -type directory -Path $directory > $null If ( ! ( Test-Path $directory -type “Container” ) ) ZIP file ”įunction CreateDirectoryIfNeeded ( $directory ) ” -save : Saves SysinternalsSuite.zip to the specified” ” -extract : The directory where the SysinternalsSuite.zip” “Downloads and extracts all the tools from Sysinternals” # Always make sure all variables are defined. # Get-SysInternalsSuite.ps1 – John Robbins – Note that this script requires the excellent 7Z.EXE in the Note that you’ll need the excellent and free 7z archive tool in your path.Īs I’m still a PowerShell novice, please don’t be afraid to point out anything I can do better. After having done the manual updating a couple of times, I wrote a PowerShell script to do the download and unzipping automatically. ZIP file and unzip it to my utility directory. Whenever I see that one of the tools is updated, I find it easiest to grab the Suite.

I’ve been surprised how many people didn’t know that all the tools available in a single download: the Sysinternals Suite. Tools like Process Explorer and Process Monitor have helped solve some of the toughest bugs I’ve ever worked on. Everyone uses Mark Russinovich’s and Bryce Cogswell’s excellent Sysinternals Tools.
