Posts

Showing posts with the label Package

KB:Powershell PackageManagement and PowerShellGet

PackageManagement and PowerShellGet, which operate within Windows. PackageManagement acts as a framework for package delivery, while PowerShellGet is a module within PackageManagement specifically for managing PowerShell packages. Here's a condensed breakdown: PackageManagement : It's a framework for package delivery in Windows. Administered through PowerShell. Consists of PackageProviders (like package managers) and PackageSources (where providers get packages). PowerShellGet : A PowerShell module using PackageManagement for delivering PowerShell packages. Utilizes PSRepositories (virtual wrappers for PackageSources). Manages modules and scripts from sources like PowerShell Gallery. Facilitates package installation, updating, and publishing. Summary : PSRepository serves as a wrapper for PackageSource. PSRepository has custom properties for managing URIs. PowerShellGet uses PackageManagement in the background. PowerShellGet registers itself as a PackageProvider and interacts w...