Tag: WSL
-
How to Install PowerShell on Ubuntu 20.04
This post is a guide on installing PowerShell on Ubuntu 20.04. The Ubuntu Linux distribution being used in this demo is running as a Windows Subsystem for Linux (WSL) instance. I have not yet encountered issues with the PowerShell, Ubuntu and WSL cocktail. Be sure to check out Microsoft Documentation, Installing PowerShell on Linux (Ubuntu)…
-
How to Reboot WSL (Windows Subsystem for Linux)
To reboot WSL, run wsl –shutdown to stop WSL distros then enter back into WSL as you normally would to start it back up again. This post is a guide to help explain the process of how to reboot a Windows Subsystem for Linux (WSL) distribution on your local machine. A WSL reboot might be…
-
How to Upgrade WSL from Version 1 to Version 2
This is a post on how to upgrade to WSL 2. The demo below will explain the process of upgrading an installed Windows Subsystem for Linux distribution from running WSL version 1 to WSL version 2. WSL has two versions, the latest (WSL 2), and the original version (WSL 1). You can have many different…
-
How to Downgrade from WSL Version 2 to WSL Version 1
This is a post on how to downgrade from WSL version 2 to WSL 1. The demo below will explain the process of downgrading an installed Windows Subsystem for Linux (WSL) distribution, from WSL2 to WSL1. WSL has two versions, the latest WSL v2, and the original version WSL v1. You can have many different…
-
How to Check Linux Version in Ubuntu
To check the Linux version in Ubuntu, run the lsb_release -a or cat /etc/os-release command. This is useful when accessing a host for the first time or checking the running Linux distribution and version. This blog post shows examples of 2 ways to check the Linux version of Ubuntu: # Method 1: lsb_release -a# Method…
-
How to Open WSL Projects in Windows File Explorer
This is a guide on how to open WSL files in Windows File Explorer, with added descriptions. The best practice for managing project files in WSL is to store your files on the same Operating System as the tools your plan to use. So if the reason you’re using WSL is to develop an app…
-
How to Change Default Linux Distro in WSL
This post is a guide on how to change a WSL distribution, from your default WSL Linux distro in the Windows Subsystem for Linux This is useful when you are managing multiple WSL distros on your computer. List Installed WSL Distros First up, we want to display your installed WSL distributions and versions by running…
-
How to Install Postgres on Ubuntu 20.04 in WSL
This is a post on how to install Postgres on Ubuntu 20.04, on Windows Subsystem for Linux (WSL). This should hopefully be a straightforward installation for you, which is done by following these 2 steps: # Update Local Packages on Ubuntu in WSL# Install Postgres on Ubuntu Update Local Packages on Ubuntu in WSL First,…
-
How to Check WSL Versions
To check your installed Windows Subsystem for Linux (WSL) versions, run wsl -l -v. This will show all installed WSL Linux distro names & versions. WSL allows users to develop and run applications within a GNU/Linux environment on a Windows computer. Previous to this feature release we needed Virtual Machines (VMs), and dual boot setups…
-
How To Install Windows Subsystem for Linux (WSL)
To install WSL (Windows Subsystem for Linux), we first enable the WSL Windows Feature using PowerShell, then install WSL Linux Distributions via the Microsoft Store. This post will help guide you through enabling and installing Windows Subsystem for Linux (WSL) on your local Windows computer. WSL allows Windows users to develop and run applications within…
Recent Posts
- Troubleshooting Database Mirroring Issues in SQL Server
- What’s New in SQL Server 2025
- Time To Revive This Blog
- How to Set Environment Variables in PowerShell
- Temp Tables in SQL Server
Categories
- AWS (5)
- DBA Stories (1)
- Linux (34)
- MySQL (5)
- Other (2)
- Postgres (7)
- PowerShell (48)
- RedShift (7)
- SQL Server (80)
- Windows Admin (64)
Tags
Active Directory (AD) AWS CLI CDC Certificates & Encryption Change Data Capture CSV Files Database Admin Database Backups Data Types Deleting Data Error Messages Featured Git Git Commands Git Log Installing SQL Server Linked Servers Linux Admin Measuring Databases MSSQL SPIDs NetFirewallProfile New-Item PowerShell PowerShell Create Folder PowerShell Delete Files PowerShell ForEach PowerShell Tips PowerShell Version Restoring Databases SQL Server Agent SQL Server ETL SQL Server Management Studio (SSMS) SQL Server Processes SQL Server Scripts SQL Tips SSH SSMS Tips Temp DB Windows Admin Windows Firewall WordPress Tutorials WSL WSL1 WSL2 WSL Ubuntu WSL Version