Skip to content

Allow DSC/PowerShellGroup to have additional module paths #285

@msftrubengu

Description

@msftrubengu

Summary of the new feature / enhancement

By default, winget configure installs PowerShell modules under %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules. This was done to avoid conflicts when OneDrive moves the user's profile to their OneDrive's profile while winget configure is executing. If the modules are stored in the winget location powershellgroup.resource.ps1 won't be able to find the modules.

Proposed technical implementation details (optional)

A new property in the PowerShellGroup with additionalModulePaths

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions