PSDesiredStateConfiguration icon indicating copy to clipboard operation
PSDesiredStateConfiguration copied to clipboard

Add a new parameter set to Invoke-DscResource that takes a DscResourceInfo

Open msftrubengu opened this issue 2 years ago • 1 comments

Summary of the new feature / enhancement

The current implementation of Invoke-DscResource always calls Get-DscResource. If the caller already has the result of Get-DscResource, it should be able to pass the DscResourceInfo object to Invoke-DscResource and avoid the internal call to Get-DscResource, as well as being able to pipe Get-DscResource to Invoke-DscResource and improve performance.

Proposed technical implementation details (optional)

No response

msftrubengu avatar Feb 28 '23 19:02 msftrubengu

Should this be implemented for v2 and/or v3?

anmenaga avatar Apr 05 '23 23:04 anmenaga