Skip to content

Add Microsoft.Windows/RegistryList resource#1514

Merged
SteveL-MSFT merged 2 commits intoPowerShell:mainfrom
SteveL-MSFT:registrylist
May 6, 2026
Merged

Add Microsoft.Windows/RegistryList resource#1514
SteveL-MSFT merged 2 commits intoPowerShell:mainfrom
SteveL-MSFT:registrylist

Conversation

@SteveL-MSFT
Copy link
Copy Markdown
Member

PR Summary

Enhance the registry resource to also have a Microsoft.Windows/RegistryList type which contains an array of Microsoft.Windows/Registry entries.

  • Bumped version to 1.1
  • Remove tracing from registry lib since it doesn't get emitted anyways
  • Simplify the code to always work off a list, so when used as Microsoft.Windows/Registry, the code just wraps it in a list handled in import_input() function
  • Added new constructor in registry lib to take a Registry instance instead of JSON as that will get used iterating through the list
  • Moved to a single registry.dsc.manifests.json file containing both resources
  • registry.exe for get and set have a new --list switch indicating the new mode
  • changed existing debug traces to trace since they emit the raw information which could be sensitive

Comment thread lib/dsc-lib-registry/src/lib.rs Outdated
Comment thread lib/dsc-lib-registry/src/lib.rs Outdated
Co-authored-by: Tess Gauthier <tgauth@bu.edu>
Copilot AI review requested due to automatic review settings May 6, 2026 17:07
@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue May 6, 2026
Merged via the queue into PowerShell:main with commit 86b2e35 May 6, 2026
23 checks passed
@SteveL-MSFT SteveL-MSFT deleted the registrylist branch May 6, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants