
How to Secure Apache with Let’s Encrypt SSL on a VPS (Step-by-Step Guide)
June 30, 2025
Run MagicRecon in Docker: Bug Bounty Recon with Kali Linux (Step-by-Step Guide)
July 1, 2025How to Install PowerShell on Kali Linux
Need to run PowerShell scripts on Kali Linux? Microsoft officially supports it, and the install process is quick and easy.
This guide walks you through the setup in a few simple steps.
🔧 Step 1: Install Dependencies
First, make sure your system is up to date and has the required packages:
sudo apt update
sudo apt install -y wget apt-transport-https software-properties-common
🔑 Step 2: Import Microsoft GPG Key
This step ensures packages from Microsoft are trusted:
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
📦 Step 3: Add the PowerShell Repository
echo “deb [arch=amd64] https://packages.microsoft.com/debian/11/prod bullseye main” | sudo tee /etc/apt/sources.list.d/microsoft.list
⚙️ Step 4: Install PowerShell
sudo apt update
sudo apt install -y powershell
🚀 Step 5: Launch PowerShell
Type the following to start PowerShell:
pwsh
✅ Conclusion
- This installs the stable release of PowerShell Core.
- Use
pwsh
to run PowerShell any time. - Works smoothly on recent Kali builds (based on Debian Bullseye).
⭐ Ready for a reliable, high-performance VPS at an unbeatable price? We host our own Kali labs on Hostinger: 4 vCPU, NVMe storage, 16 GB RAM and 16 TB bandwidth, backed by 24/7 support and a 30-day money-back guarantee. You’ll save up to 20% when you lock in a 24-month plan. Grab a Hostinger VPS using this referral link and support our content.
👉 Claim your Hostinger VPS (from only US$ 7.99/mo)