You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
πΉpwsl.0.2.5### βββββ Build Information βββββ|||||-|-|-||π·οΈ | Project Name |⬑pwsl||π | Project ID |⬑77419357 ||π | Pipeline ID |⬑2255281334 ||π ±οΈ | Pipeline URL |⬑https://gitlab.com/phellams/pwsl/-/pipelines/2255281334 ||ποΈ | Build Date |⬑01/10/2026 06:13:12 ||π | Commit SHA |⬑76fc7ff |### βββββ SHA256 Checksums βββββpwsl.0.2.5.nupkg SHA256: β¦Ώcb56496a6f80ef74a3b596c5cc85eb156f0677f8cd8038c9e6d266256450aa40 \pwsl.0.2.5-choco.nupkg SHA256: β¦Ώeea6b887f22170ae13111b35e168b1d0473be5caad2ba6355de5b8078253f475 \pwsl.0.2.5-psgal.zip SHA256: β¦Ώ4d44e3026cc8a6dfe27a57747ed084721bd9b59af33a23f5515f5cdfd9505cbb## β¦Ώ Package Repositories Phellams Modules are distributed to GitLab Packages, Chocolatey Packages, and Powershell Gallery repositories.### π¦ Powershell Gallerypowershell Find-Module -Name pwsl -MinimumVersion 0.2.5 | Install-module | Import-Module### π« ChocolateyWINDOWS ONLY````powershell# fetch choco packagechoco install pwsl --version=0.2.5 # default location of downloaded package# C:\ProgramData\chocolatey\lib\pwsl# Import module directly from chocolatey packageimport-module -name C:\ProgramData\chocolatey\lib\pwsl# Copy to user profile locationCopy-Item -Path C:\ProgramData\chocolatey\lib\pwsl -Destination $ENV:HOME\Documents\PowerShell\ModulesImport-Module -Name pwsl```### π§ **Gitlab Packages**#### **Nuget direct Sources Method**Use the nuget sources to add the GROUPNAME_PLACEHOLDER_pwsl as a package source and install the package.```powershell# Add nuget sourcenuget sources add -name phellams_pwsl -source https://gitlab.com/api/v4/projects/77419357/packages/nuget/index.json# A: Install from gitlab package into current directorynuget install pwsl -version 0.2.5 -Source phellams_pwsl# B: Install from gitlab package into user profilenuget install pwsl -Source gitlab-fastfsc -OutputDirectory $ENV:USERPROFILE/documents/powershell```#### **Nuget direct download method**Install the package from gitlab packages by using the nugetdownload and install direct to specified directory.```powershellnuget install pwsl -version 0.2.5 -source https://gitlab.com/api/v4/projects/77419357/packages/nuget/index.json -OutputDirectory $ENV:USERPROFILE/documents/powershell```### Import the moduleCommon locations for PowerShell modules: - **linux**: -$path = $ENV:USERPROFILE/.nuget/packages -$path = $home/.nuget/packages- **Windows** -$path = $ENV:USERPROFILE.nuget\packagesπ’ ***Import the module***```powershell# Windowsimport-module -name $path\pwsl# Linuximport-module -name $path/pwsl```## β¦ΏBuild ArtifactesFor all module output variations, you can simply extract the.zipfiles, or rename.nupkgfiles to.zip, then extract them using your preferred compression tool (e.g., **ZIP**, **PeaZip**, **7-Zip**, etc.). After extracting, navigate to the module directory (cd) and run Import-Module. Alternatively, you can use any of the methods mentioned above or below.Or you can use the individual build artifacts to install the module, using the target package manager ie: - **chocolatey(Choco.exe)**- **Gitlab Packages(Nuget.exe)**- **powershell gallery(Install-Package)**- **gitlab packages(Nuget.exe)**### β¬ Nupkg's Manual Download and Installation*Download the build package from the build artifact archive using powershell Invoke-WebRequest*> You can also use curlorwgetto download the packaage.```powershell# psgal artifact downloadInvoke-WebRequest -url "https://gitlab.com/phellams/pwsl/-/jobs/12669224181/artifacts/raw/dist/psgal/pwsl.0.2.5-psgal.zip"# choco artifact downloadInvoke-WebRequest -url "https://gitlab.com/phellams/pwsl/-/jobs/12669224181/artifacts/raw/dist/choco/pwsl.0.2.5-choco.nupkg"# nuget artifact downloadInvoke-WebRequest -url "https://gitlab.com/phellams/pwsl/-/jobs/12669224181/artifacts/raw/dist/nuget/pwsl.0.2.5.nupkg"```#### πΈ UsingInstall-Packagecmdlet```powershell# WINDOWSInstall-Package -Name pwsl -RequiredVersion 0.2.5 -Source "\path\to\download\pwsl.0.2.5.nupkg" -Destination "$ENV:USERPROFILE\Documents\PowerShell\Modules\pwsl" -Force# Import module into powershell sessionImport-Module -Name pwsl# LINUX# Comming profile locations:# - /usr/local/share/powershell/Modules/# - $HOME/.local/share/powershell/Modules/Install-Package -Name pwsl -RequiredVersion 0.2.5 -Source "\path\to\download\pwsl.0.2.5.nupkg" -Destination "/usr/local/share/powershell/Modules/pwsl" -Force``` *Install the downloaded package from the build artifact by using theInstall-Packagecmdlet*### πΈ Usingnuget.exeπͺpwsl.0.2.5.nupkgpowershellInvoke-WebRequest -url "https://gitlab.com/phellams/pwsl/-/jobs/12669224181/artifacts/raw/dist/nuget/pwsl.0.2.5.nupkg" -OutFile "\path\to\download\pwsl.0.2.5.nupkg"# default windows install location# - %APPDATA%\NuGet\NuGetnuget install pwsl -Version 0.2.5Copy-Item -Path $ENV:APPDATA\NuGet\NuGet\pwsl -Destination $ENV:USERPROFILE\Documents\PowerShell\ModulesImport-Module -Name pwsl```### πΈ Using `zip`|`7zp`|`pzip` exe*Install the downloaded package from the build artifact by extracting it to your desired location*πͺ `pwsl.0.2.5-psgal.zippowershell# ZipExpand-Archive -Path ".\pwsl.0.2.5.nupkg" -DestinationPath "$ENV:USERPROFILE\Documents\PowerShell\Modules\pwsl"# 7zip7z.exe e ".\pwsl.0.2.5.nupkg" -o$ENV:USERPROFILE\Documents\PowerShell\Modules\pwsl# Import the moduleImport-Module pwsl```### πΈ Using Choco*Install the downloaded package from the build artifact by using choco.exe*πͺpwsl.0.2.5-choco.nupkg````powershell# Install from chocolatey nupkg file# Elevated privileges required - install froms local source# -choco install pwsl --version="0.2.5" --source="/download/path/to/pwsl.0.2.5.nupkg" # import the moduleImport-Module "C:\ProgramData\chocolatey\lib\pwsl"# orCopy-Item -Path "C:\ProgramData\chocolatey\lib\pwsl" -Destination $ENV:USERPROFILE\Documents\PowerShell\Modules\pwsl# import the moduleImport-Module pwsl```