PSPackageMan
Description
Creates a GitHub (Private or Public) Gist to host the details about your required apps. You can create more than one list to customize your requirements. These lists are then used to install or upgrade apps on Windows using Chocolatey or Winget. With this, you can install all your utilities on any machine unattended.
Getting Started
- Install from PowerShell Gallery PS Gallery
Install-Module -Name PSPackageMan -Verbose
- or run this script to install from GitHub GitHub Repo
$CurrentLocation = Get-Item . $ModuleDestination = (Join-Path (Get-Item (Join-Path (Get-Item $profile).Directory 'Modules')).FullName -ChildPath PSPackageMan) git clone --depth 1 https://github.com/smitpi/PSPackageMan $ModuleDestination 2>&1 | Write-Host -ForegroundColor Yellow Set-Location $ModuleDestination git filter-branch --prune-empty --subdirectory-filter Output HEAD 2>&1 | Write-Host -ForegroundColor Yellow Set-Location $CurrentLocation
- Then import the module into your session
Import-Module PSPackageMan -Verbose -Force
- or run these commands for more help and details.
Documentation can be found at: Github_Pages
Get-Command -Module PSPackageMan Get-Help about_PSPackageMan
Functions
Add-PSPackageManAppToList
-- Add an app to one more of the predefined GitHub Gist Lists.Add-PSPackageManDefaultsToProfile
-- Add the parameter to PSDefaultParameters and also your profile.Get-PSPackageManAppList
-- Show a List of all the GitHub Gist app Lists.Get-PSPackageManInstalledApp
-- This will display a list of installed apps, and their details in the repositories.Install-PSPackageManAppFromList
-- Installs the apps from the GitHub Gist List.New-PSPackageManList
-- Creates a new list file on your GitHub Gist.Remove-PSPackageManAppFromList
-- Remove an app from one or more of the predefined GitHub Gist Lists.Remove-PSPackageManList
-- Deletes a list from your GitHub Gist.Save-PSPackageManList
-- Saves the Gist List to the local machineSearch-PSPackageManApp
-- Will search the winget and chocolatey repositories for appsShow-PSPackageManApp
-- Show an app to one of the predefined GitHub Gist Lists.