File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
powershell-adapter/psDscAdapter Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ if ($PSVersionTable.PSVersion.Major -gt 5) {
25
25
$PSDesiredStateConfiguration = Import-Module $m - Force - PassThru
26
26
}
27
27
else {
28
- $env: PSModulePath + = " ; $env: windir \System32\WindowsPowerShell\v1.0\Modules"
28
+ $env: PSModulePath = " $env: windir \System32\WindowsPowerShell\v1.0\Modules; $ env: PSModulePath "
29
29
$PSDesiredStateConfiguration = Import-Module - Name ' PSDesiredStateConfiguration' - RequiredVersion ' 1.1' - Force - PassThru - ErrorAction stop - ErrorVariable $importModuleError
30
30
if (-not [string ]::IsNullOrEmpty($importModuleError )) {
31
31
' Could not import PSDesiredStateConfiguration 1.1 in Windows PowerShell. ' + $importModuleError | Write-DscTrace - Operation Error
You can’t perform that action at this time.
0 commit comments