As already posted and as you can see on my blog, I really like the new feature called OneGet. With the Windows Management Framework 5.0 Preview, Microsoft released a new PowerShell module which is called OneGet.
OneGet is a new way to discover and install software packages from around the web. The way how this works is that you can connect to repositories around the web or you can just add new repositories by your self for example for internal use. In the preview you have the Chocolatey repository connected. I am pretty sure Microsoft will also add some own repositories to the list, so you can install Microsoft software and packages from a trusted source.
You can get all the different repositories with the Get-PackageSource cmdlet.
You can than list all the packages available for you by using Find-Package, or you could use it to find a specific package.
If you have found the right package you can also see all the versions available by using the Find-Package <Package> -AllVersions cmdlet.
You can now install the version you need or you can just use the Install-Package cmdlet to install the latest available version.
After you have installed packages you can of course list them by using the Get-Package cmdlet or uninstall a package by using Uninstall-Package.
But this is not everything, another great thing about OneGet is that it can be integrated in PowerShell Desired State Configuration (DSC). So think about it for a moment, you can now create simple server configurations with DSC and you don’t have to think about software repositories at all, OneGet does handle this for you.
By the way, Garrett Serack (Senior Open Source Software Developer at Microsoft) also pointed out to me that OneGet also has a place on the Microsoft Open Source Software site CodePlex.
Tags: Microsoft, OneGet, PowerShell, Windows, Windows 8.1, Windows Management Framework, Windows Powershell, Windows Server, Windows Server 2012 R2, WMF Last modified: April 4, 2014