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 really easy. 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 source for Packages, first thing you can do is add the chocolatey Repository to your Package Sources:

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:

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

PowerShell PackageManagement Add PackageSource

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

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.