Skip to content

ethanbergstrom/Foil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

Foil

Foil is a PowerShell Crescendo wrapper for Chocolatey

Install Foil

Install-Module Foil -Force

Sample usages

Search for a package

Get-ChocoPackage -Name nodejs

Get-ChocoPackage -Name firefox -Exact

Install a package

Get-ChocoPackage nodejs -Exact -Verbose | Install-ChocoPackage

Install-ChocoPackage -Name 7zip -Verbose

Get list of installed packages

Get-ChocoPackage nodejs -LocalOnly -Verbose

Uninstall a package

Get-ChocoPackage keepass-plugin-winhello -LocalOnly -Verbose | Uninstall-ChocoPackage -Verbose -RemoveDependencies

Manage package sources

Register-ChocoSource privateRepo -Location 'https://somewhere/out/there/api/v2/'
Get-ChocoPackage nodejs -Verbose -Source privateRepo -Exact | Install-ChocoPackage
Unregister-ChocoSource privateRepo

Foil integrates with Choco.exe to manage and store source information

Pass in package parameters

The Install-ChocoPackage cmdlet allows passing package parameters.

Install-ChocoPackage sysinternals -AcceptLicense -ParamsGlobal -Params '/InstallDir:c:\windows\temp\sysinternals /QuickLaunchShortcut:false' -Verbose

Known Issues

Compatibility

Foil works with PowerShell for both FullCLR/'Desktop' (ex 5.1) and CoreCLR (ex: 7.0.1), though Chocolatey itself still requires FullCLR.

Legal and Licensing

Foil is licensed under the MIT license.

About

A PowerShell Crescendo wrapper for Chocolatey

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •