PowerShell PackageManagement Add PackageSource

How to install SysInternals using PowerShell Package Management

I already made a post in April 2014 where Microsoft announced the first preview of the Windows Management Framework 5.0. At this time, the Windows Management Framework V5 Preview came with a module called OneGet, which allowed you to install and manage packages. In the latest versions, the name from OneGet changed to PackageManagement. With Windows 10, you can now make use of this module. This helps you to install software and features. This can also be used to install Sysinternals using PowerShell.

The Sysinternals web site was created in 1996 by Mark Russinovich to host his advanced system utilities and technical information. Whether you’re an IT Pro or a developer, you’ll find the utilities to help you manage, troubleshoot, and diagnose your Windows systems and applications.

Packagemanagement PowerShell Commands

By default you get the PowerShell Gallery as a source for Packages, the first thing you can do is add the chocolatey Repository to your Package Sources:

Register-PackageSource -Name chocolatey -ProviderName Chocolatey -Location http://chocolatey.org/api/v2/

After you have added Chocolatey, you can search for the Packages you want to use. In my case, I want to install SysInternals using the following command:

Find-Package -Name Sysinternals

After you found your Package you can also install this Package using the following command:

Find-Package -Name Sysinternals | Install-Package

PowerShell PackageManagement Add PackageSource

After Package Manager is finished downloading and unpacking the zip file you can find it here:

C:\Chocolatey\lib\sysinternals.2015.07.20\tools

SysInternals

So if you like Sysinternals and PowerShell as much as I do, this is the way to go and helps you to get started very quickly. I hope this gives you an idea of how you can install the SysInternals tools using PowerShell.