Today I have a quick function to download the current Sysinternals Suite from http://live.sysinternals.com. I created this mainly to learn/try some concepts of PowerShell, if you have any hints/ideas feel free to drop me a mail.
This function leverages the new ‘Invoke-WebRequest’ cmdlet, available in PowerShell v3, so, obviously V3 is required.
Update-SysinternalsSuite -Path C:\tools\sysinterals –AsJob
This downloads the Sysinternals Tools to C:\tools\sysinternals. If the specified folder does not exist, the script creates it. It also makes use of background jobs, so you can keep using PowerShell during the download.
I’ve posted the Function to PoshCode: