https://github.com/patrick330602/psuwi
A PowerShell Helper to create testing Ubuntu instances on WSL
https://github.com/patrick330602/psuwi
Last synced: about 1 year ago
JSON representation
A PowerShell Helper to create testing Ubuntu instances on WSL
- Host: GitHub
- URL: https://github.com/patrick330602/psuwi
- Owner: patrick330602
- License: mit
- Archived: true
- Created: 2020-04-19T06:57:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T06:52:52.000Z (over 4 years ago)
- Last Synced: 2025-03-17T09:52:18.035Z (over 1 year ago)
- Language: PowerShell
- Homepage:
- Size: 99.6 KB
- Stars: 23
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PsUbuntuWSLInstance
 
This is A PowerShell helper to create testing Ubuntu instances on WSL.
Install using `Install-Module -Name PsUWI` and import the Module using `Import-Module PsUWI`
Here are some example uses:
```powershell
New-UbuntuWSLInstance -Release bionic
# Create a Ubuntu Bionic instance on WSL1
New-UbuntuWSLInstance -Release xenial -Version 2 -RootOnly
# Create an Ubuntu Xenial instance on WSL2 without creating a user account
New-UbuntuWSLInstance -Version 2 -NoUpdate
# Create an Ubuntu Focal instance on WSL2 without any update
New-UbuntuWSLInstance -Release eoan -Force
# Create an Ubuntu Eoan instance on WSL1 and download the WSL tarball even if it already exists
Remove-UbuntuWSLInstance -Id AbcdEFGhiJ
# Remove an instance called ubuntu-AbcdEFGhiJ
Remove-AllUbuntuWSLInstances
# Remove all instances
```
# License
MIT.