Skip to content

Wsl-Manager Module Reference

Command Name Aliases Description
Get-WslBuiltinImage - Gets the list of builtin WSL root filesystems from the remote repository.
Invoke-WslConfigure cwsl Configures a WSL instance.
Set-WslDefaultInstance dwsl Sets the default WSL instance.
Set-WslDefaultUid - Sets the default UID for one or more WSL instances.
Get-WslImage gwsli Gets the WSL root filesystems installed on the computer and the ones available.
New-WslImage nwsli Creates a WslImage object.
Remove-WslImage rmwsli Remove a WSL root filesystem from the local disk.
Sync-WslImage swsli Synchronize locally the specified WSL root filesystem.
New-WslImageHash - Creates a new FileSystem hash holder.
Export-WslInstance ewsl, Export-Wsl Exports the file system of a WSL instance.
Get-WslInstance Get-Wsl, gwsl Gets the WSL instances installed on the computer.
Invoke-WslInstance Invoke-Wsl, iwsl Runs a command in one or more WSL instances.
New-WslInstance New-Wsl, nwsl Creates and configures a minimal WSL instance.
Remove-WslInstance Remove-Wsl, rmwsl Removes WSL instance.
Rename-WslInstance mvwsl, Rename-Wsl Renames a WSL instance.
Stop-WslInstance Stop-Wsl, swsl Stops one or more WSL instances.