Updated Kvm-List method to use global vars rather than hard coded paths to set value of kre home
This commit is contained in:
Родитель
2d0fbc066a
Коммит
e550b6814b
|
@ -339,7 +339,7 @@ param(
|
|||
function Kvm-List {
|
||||
$kreHome = $env:KRE_HOME
|
||||
if (!$kreHome) {
|
||||
$kreHome = $env:ProgramFiles + "\KRE;%USERPROFILE%\.kre"
|
||||
$kreHome = "$globalKrePath;$userKrePath"
|
||||
}
|
||||
$items = @()
|
||||
foreach($portion in $kreHome.Split(';')) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче