Skip to content

Conversation

@anmenaga
Copy link

@anmenaga anmenaga commented Feb 7, 2024

PR Summary

Fix #285

PR Context

The PSModulePath env var is clobbered within the group resource (thus PSDSC is still found by the default env var). The string value would be PS syntax and expanded within the group resource.

properties:
  psmodulepath: $env:PSModulePath;$env:LOCALAPPDATA\Microsoft\WinGet\Configuration\Modules
  resources: ...

@SteveL-MSFT SteveL-MSFT changed the title Allow PowerShellGroup to have additional module paths Allow PowerShellGroup to override psmodulepath Feb 8, 2024
@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Feb 8, 2024
Merged via the queue into PowerShell:main with commit d0f49d3 Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow DSC/PowerShellGroup to have additional module paths

2 participants