A PowerShell Helper to create testing Ubuntu instances on WSL. Windows 10 2004 only.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PsUWI

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Patrick Wu


(c) 2020 Patrick Wu. All rights reserved.



wsl ubuntu


New-UbuntuWSLInstance Remove-UbuntuWSLInstance Remove-AllUbuntuWSLInstances


This module has no dependencies.

Release Notes

# 0.8.1

- no longer uses -Slient in -NonInteractive.

# 0.8.0

- Add -Silent, -NonInteracitve and -AdditionalPkg
- Fix several small issues

# 0.5.0

- Fix the user creation issue;
- Fix the issue that when using RootOnly, nothing will shown;
- Fix a issue that cause folder switch when $env:HOME is not set;
- Add -EnableProposed and -EnableSource.

# 0.2.1

- defaults to wsl2 now;
- sudo works in bionic now;
- if AdditionalPPA is empty, PPA addtion will not be executed.

# 0.2.0

Remove some old code; Add a new AdditionalPPA parameter.

# 0.1.1

Fix switch option and grammar fixes

# 0.1.0

First Release

Version History

Version Downloads Last updated
0.8.1 (current version) 38 11/4/2020
0.8.0 15 8/17/2020
0.5.0 10 7/21/2020
0.2.1 14 6/24/2020
0.2.0 9 6/11/2020
0.1.1 17 4/30/2020
0.1.0 11 4/29/2020