Stephanevg / PSClassUtils

A set of utilities to work with Powershell Classes
http://powershelldistrict.com/how-to-generate-a-uml-diagram-using-powershell/
93 stars 23 forks source link

Add a Scope parameter to the Install-CUDiagramPrerequisites function #84

Closed LaurentLienhard closed 5 years ago

LaurentLienhard commented 5 years ago

It would be interesting if we could choose on which scope we want to install the prerequisites modules

Stephanevg commented 5 years ago

This is handled through the follwing function: https://github.com/Stephanevg/PSClassUtils/blob/master/PSClassUtils/Functions/Public/Install-CUDiagramPrerequisites.ps1

I think that this could be implemented by adding an extra -Scope parameter to this function, and simply pass it further down the chain to the install-Module cmdlet.

Stephanevg commented 5 years ago

Done and merged