Update 03/13/2015: the PowerShell gallery is moved from msconfiggallery.cloudapp.net to powershellgallery.com
Let me first summarize OneGet and PowerShellGet.
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
This first version of OneGet installs and searches software from Chocolatey repositories. Support of additional repositories will come in subsequent versions.
PowerShellGet is a new way to discover, install, and update PowerShell Modules. New in WMF 5.0 Preview May 2014, PowerShellGet contains a set of cmdlets that enable users to interact with an online module gallery.Instead of having to search through CodePlex, GitHub, various blogs, and TechNet Script Center for all the PowerShell Modules you want, you can use Find-Module to search through an online Gallery
Both use an OData feed, Open Data Protocol (OData) is a data access protocol initially defined by Microsoft. The protocol was designed to provide standard CRUD access to a data source via a website. If you want to learn more about OData just go to wikipedia.
Now we know, we can access the OneGet and PowerShellGet repositories using an OData feed we can use the PowerShell OData Explorer. With the 'OData Explorer' PowerShell application we can browse the OData Services. After downloading and unzipping the OData Explorer we need to add the two OData Services from OneGet and PowerShellGet in the ODataServices.csv file.
PowerShell OData Explorer
Open the .\View-OData.ps1 PowerShell script and start browsing.
You can browse the Chocolatey or NuGet OData feed for the OneGet Packages or for the PowerShell Modules you can browse the PowerShelGet OData feed.
After browsing through the OneGet and PowerShellGet OData repositories would not it be cool if we can “just” navigate those OData feeds like we do with our other PowerShell Providers?
OData PowerShell provider
This can be done using the PowerShell OData Provider Module. The OData PowerShell provider allows you to mount OData feeds as drives in your powershell session. This enables simple and intuitive access to the catalogs, collections, and entities in the feed using the same cmdlets you use for working with files. Download, unzip and install the PowerShell OData Provider and get started navigating your OneGet and PowerShellGet OData feed just like any other PowerShell Provider.
Have fun browsing those PowerShellGet and OneGet OData feeds using the PowerShell OData Provider Module.