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
Summary of the new feature / enhancement
The current implementation of
Invoke-DscResourcealways callsGet-DscResource. If the caller already has the result ofGet-DscResource, it should be able to pass theDscResourceInfoobject toInvoke-DscResourceand avoid the internal call toGet-DscResource, as well as being able to pipeGet-DscResourcetoInvoke-DscResourceand improve performance.Proposed technical implementation details (optional)
No response