Microsoft has released Package Management related PowerShell modules targeted for PowerShell 4 and PowerShell 3.

The MSI based installer can be downloaded from Microsoft Download Center!

This preview consists of modules PackageManagement (formerly known as OneGet) and PowerShellGet.

The versions of these modules exactly match those that shipped with WMF 5.0 August Production Preview.

Since this preview contains only PowerShell modules, you do not need to reboot after installation.

This preview installs exclusively on systems running PowerShell 4 or PowerShell 3 only. This preview will not install on any systems running PowerShell 5 (including Windows 10) which already ship with these modules. If you plan to move to PowerShell 5, we advise you to skip installing this preview and instead install our WMF 5.0 August Production Preview or upgrade to Windows 10.

With PackageManagement, you can do the following:

•        Manage a list of software repositories in which packages can be searched, acquired, and installed

•        Discover software packages you need

•        Seamlessly install, uninstall, and inventory packages from one or more software repositories

 

Now lets get a bit of History about OneGet command in powershell:

With the introduction of Powershell Preview 5 we had a new commandlet waiting for us: OneGet feature, is what provides the apt-get features to PowerShell, the ability to install software or in the context of this a package from a repository.

Getting the module oneget

Oneget

Then you should probably update your help files so it will be up-to-date with the new commands:

updatehelp

get-packageprovider

get-packageprovider

get-packagesource

get-packagesource

find-package

find-package

And here it is, a huge library on what you can install now with

install-package

You can also browse for your desired content with:

find-package *xxx*

Have fun !

 

Follow on Feedly