Create a separate script for WSL interaction
This commit is contained in:
parent
c350a9c26b
commit
380b70322c
4 changed files with 29 additions and 11 deletions
scripts/Common/Scripts
|
@ -1,7 +0,0 @@
|
|||
<#
|
||||
.SYNOPSIS
|
||||
Gets the name of the WSL distribution used for reading configuration values.
|
||||
#>
|
||||
function Get-DistributionName {
|
||||
return "ValhallaUbuntu";
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
. "$PSScriptRoot/Config.ps1";
|
||||
. "$PSScriptRoot/Constants.ps1";
|
||||
. "$PSScriptRoot/../Types/OneShotTask.ps1";
|
||||
. "$PSScriptRoot/../../Windows/Scripts/PowerManagement.ps1";
|
||||
. "$PSScriptRoot/../../Windows/Scripts/Registry.ps1";
|
||||
. "$PSScriptRoot/../../Windows/Scripts/Security.ps1";
|
||||
. "$PSScriptRoot/../../Windows/Scripts/WSL.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
. "$PSScriptRoot/../Types/OneShotTask.ps1";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue