davidobrien1985 / DscResources

This repository will contain custom PowerShell DSC Resources
MIT License
22 stars 9 forks source link

support scope of module install #3

Open davidobrien1985 opened 9 years ago

davidobrien1985 commented 9 years ago

Right now the resource installs a module into the system scope (C:\Program Files...), this should be configurable.

gustavdw commented 7 years ago

I implemented this but the behavior when running install with currentuser as admin is installing into C:\Windows\System32\config\systemprofile\Documents\WindowsPowerShell\Modules, which doesn't appear to be in the psmodulepath by default, so even though the module is installed it's not found until the path is updated.

Edit: Well seems to be working now, I'll push this.