2 ms·
Thanks, I had a look and it's interesting, do you know if the Power Shell Library is just a distribution channel based on the Win 10 package management system t
by mastazi 10y ago
Thanks, I had a look and it's interesting, do you know if the Power Shell Library is just a distribution channel based on the Win 10 package management system that I linked in my previous comment, or is it a completely separate product?
- sjellis 10y agoAIUI, PackageManagement really is literally just a convenience API for providing a consistent set of calls for driving arbitrary package management systems, and has no package management capabilities at all itself. It's actually not Windows-specific. The actual package management system for PowerShell modules is PowerShellGet. On Mac, PowerShell Core includes PackageManagement, and two "providers" - an adapter for PowerShellGet and one for NuGet, so you seem to be able to do either: Find-Module AWSPowerShell.NetCore (to use PowerShellGet directly) Or: Find-Package AWSPowerShell.NetCore (to go through PackageManagement)
- sjellis 10y agoThe actual package management system for PowerShell modules is PowerShellGet. AIUI, PackageManagement really is just a convenience for providing a consistent set of PowerShell commands for driving arbitrary package management systems, and has no package management capabilities at all itself. It's not Windows-specific, and seems to have been made cross-platform with PowerShell itself. On Mac, PowerShell Core includes PackageManagement, and two "providers" - an adapter for PowerShellGet and one for NuGet, so you appear to be able to do either: Find-Module AWSPowerShell.NetCore (to use PowerShellGet directly) Or: Find-Package AWSPowerShell.NetCore (to go through PackageManagement) I didn't know most of this until I started poking around, so thanks for asking!