Closed brwilkinson closed 3 years ago
@brwilkinson, do you mind to push your change to https://github.com/OneGet/oneget ? This repo has been deprecated. The PackageManagementProviderResource module has been merged to PackageManagement. We no longer publish new version of PackageManagementProviderResource to powreshellgallery.com. Thank you!
@jianyunt oh sure, I thought I cloned the new repo....
Actually do you have the link to the PSModule DSC resource ?
This adds the ability to specify the AllowClobber parameter.
The change was made on the Set function.
Used Splatting to add this extra optional 'AllowClobber' parameter on the Install-Module Cmdlet.
There was only as single named parameter before for ErrorVariable, so I created the hashtable that includes that value with the optional AllowClobber.
This change is