dsccommunity / DscResource.Common

This module contains common functions that are used in DSC resources.
https://dsccommunity.org
MIT License
9 stars 9 forks source link

`ConvertTo-CimInstance` - Add parameters for ClassName and Namespace #128

Open dan-hughes opened 2 weeks ago

dan-hughes commented 2 weeks ago

Problem description

This function could be enhanced by adding parameters to allow different ClassName and Namespace values to be used.

Backward compatibility kept by setting the parameters as the current values.

Verbose logs

N/A

How to reproduce

N/A

Expected behavior

N/A

Current behavior

N/a

Suggested solution

Add additional parameters to allow other modules to use the function.

Operating system the target node is running

N/A

PowerShell version and build the target node is running

N/A

Module version used

N/A
johlju commented 2 weeks ago

I'm good with that.