[Windows] Set WSLv1 version on Windows Server 2022 (#5762)

* Set WSLv1 version on Windows Server 2022

* Create path if missing
This commit is contained in:
Aleksandr Chebotov
2022-06-17 09:24:02 +02:00
committed by GitHub
parent a58f12fe95
commit e42b607790
3 changed files with 28 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ Export-ModuleMember -Function @(
'Set-DefaultPath'
'Add-MachinePathItem'
'Add-DefaultPathItem'
'Add-DefaultItem'
'Get-SystemVariable'
'Get-DefaultVariable'
'Set-SystemVariable'