Add further functionality to the WSL script
This commit is contained in:
parent
380b70322c
commit
6ab0df4dc8
3 changed files with 101 additions and 47 deletions
scripts/Common/Scripts
|
@ -194,6 +194,6 @@ $null = New-Module {
|
|||
Clears resources allocated during the operation.
|
||||
#>
|
||||
function Clear-OperationResources {
|
||||
wsl --unregister (Get-DistributionName);
|
||||
Uninstall-WslDistribution;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue