How to Install PowerShell Modules Offline

In a secure or air-gapped environment, you can’t use Install-Module to download modules directly from the PowerShell Gallery. However, you can use an online machine to download the module and its dependencies, transfer them to the offline machine, and install them manually. This guide will walk you through the process using the popular Posh-SSH module as an example, but the steps can be applied to any module from the PowerShell Gallery. ...

November 5, 2025 · The PwshTips Team

Install PowerShell (pwsh) on Linux

PowerShell is no longer just for Windows. As a powerful, open-source scripting language and shell, PowerShell (pwsh) is now fully supported on Linux, allowing you to manage cross-platform environments, automate tasks, and use a consistent scripting language across your entire infrastructure. This guide provides step-by-step instructions for installing PowerShell on the most popular Linux distributions, including Ubuntu, Debian, Fedora, and Arch Linux. Why Install PowerShell on Linux? Cross-Platform Scripting: Write one script that can run on both Windows and Linux. Object-Oriented Shell: Unlike traditional text-based shells, PowerShell works with objects, making it easier to manipulate and manage data. Powerful Cmdlets: Leverage a rich ecosystem of cmdlets for managing systems, files, and services. Automation: Automate complex administrative tasks across a mixed-OS environment. Method 1: Installing on Debian and Ubuntu This is the most common method and is officially supported by Microsoft. We’ll use Ubuntu 22.04 as an example, but the steps are identical for recent versions of Debian and other Ubuntu derivatives. ...

October 24, 2025 · The PwshTips Team

Install winget on Windows

The Windows Package Manager, better known as winget, is a powerful command-line tool that dramatically simplifies the process of managing software on Windows. Instead of manually downloading installers from websites, you can use winget to find, install, upgrade, and uninstall applications directly from your terminal. This guide explains what winget is, how to check if you already have it, and how to install or update it. What is winget? winget is a free and open-source package manager developed by Microsoft. It brings the convenience of Linux package managers (like apt or yum) to the Windows ecosystem. With winget, you can automate the setup of a new machine or keep your existing software up-to-date with a single command. ...

October 20, 2025 · The PwshTips Team