-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
Install a class-based DSC resource module into the current user path ~\Documents\WindowsPowerShell\Modules\ are not found by Microsoft.Windows/WindowsPowerShell adapter when called from PowerShell 7, if called from Windows PowerShell the resources are returned as expected. All users path works as expected in both PowerShell and Windows PowerShell.
Steps to reproduce
- Install class-based DSC resource into current users path
- In PowerShell 7 execute
dsc resource list --adapter Microsoft.Windows/WindowsPowerShell
Expected behavior
Current user PS module path DSC resources should be found.Actual behavior
Current user PS module path DSC resources are not found.Error details
Environment data
7.6-preview4Version
3.1.0-preview.5
Visuals
No response
Reactions are currently unavailable