DSC icon indicating copy to clipboard operation
DSC copied to clipboard

`dsc resource list <INPUT>` should leverage the adapter cache to find resources

Open JohnMcPMS opened this issue 10 months ago • 0 comments

Summary of the new feature / enhancement

dsc resource list <INPUT> will not currently find resources behind adapters without specifying the adapter (or *). With the resource cache for adapters, this may be performant enough to allow searching across all adapters even without being requested.

The downside is that on a system without any cached data, the initial search for a resource will need to build out the caches. This could make the first run of dsc resource list <INPUT> extremely expensive.

Note that I am not suggesting that dsc resource list should search adapters. Even if this was fast to do, the result set would be far too large to be of much use. This may eventually be the case for un-adapted resources.

Proposed technical implementation details (optional)

No response

JohnMcPMS avatar Feb 19 '25 00:02 JohnMcPMS