Microsoft Hackathon 2015 project - find, download and install applications in one line of PowerShell. Supports MSI and EXE installation.
Note that this is an experimental project and is not officially supported by Microsoft. Use at your own risk - only install applications from sources you trust. Contributions are very welcome!
find-package -provider smart notepad++ | select -first 1 | install-package- Build SMART and EXE solutions in Visual Studio.
- Copy providers and dependent dlls to PackageManagement folder. The folder should be either one of:
C:\Program Files\WindowsPowerShell\Modules\PackageManagement\1.0.0.0\ or
C:\Program Files\WindowsPowerShell\Modules\PackageManagementYou can run
Get-Module PackageManagement -listto get the actual location.
The files to copy are:
- SmartProvider.dll
- ExeProvider.dll
- Newtonsoft.Json.dll
- HtmlAgilityPack.dll
Get-PackageProviderYou should see SMART and EXE providers.
- Notepad++
- Vivaldi
- 7zip
- Icon Restore