, , , , ,

Install Sysinternals from PowerShell via OneGet

Install Sysinternals from PowerShell

Microsoft just announced the Windows Management Framework 5.0 Preview. The Windows Management Framework V5 preview adds some cool new feature called OneGet.

OneGet is a new way to discover and install software packages from around the web. With OneGet, you can:
  • Manage a list of software repositories in which packages can be searched, acquired, and installed
  • Search and filter your repositories to find the packages you need
  • Seamlessly install and uninstall packages from one or more repositories with a single PowerShell command

As I did some tests this is perfect to install new software packages very easily. So I started with one of my favorite tools called Sysinternals Suite.

Install Sysinternals from PowerShell

First I have check if there was a Sys internals Package available by using:


Find-Package Sysinternals

This checks online from different sources if there is a package available. After that I installed the package by using:


Find-Package Sysinternals | Install-Package

So this is really easy and guess what, it does not just work for Microsoft Software, there is a lot more of third party Software which can be installed with OneGet. So make sure you checkout the Windows Management Framework 5.0 Preview to get the new OneGet cmdlets.

 

4 responses

  1. Steve Rackham Avatar

    Hi
    Once installed where does it put the files?

    Cheers
    S.

  2. jkavanagh58 Avatar
    jkavanagh58

    Something has changed, the install only places Sysinternals into chocolatey/lib. The install seemed to work before but there appears you have to follow additional steps..

  3. Sergii Avatar

    I experienced the same issue with only SysInternals NuGet package being copied without actual installation.
    The root cause seems to be that by default PowerShell cannot run chocolateyInstall script due to execution policy.
    Changing Powershell script execution policy to Remote-Signed has fixed the issue for me; after retrying the installation, the actual suite was downloaded and unpacked.

    Set-ExecutionPolicy RemoteSigned

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.