From f5b572034f7789e71f72adeaeeb6d7951005f97f Mon Sep 17 00:00:00 2001 From: "G.Reijn" Date: Fri, 3 Oct 2025 04:34:13 +0200 Subject: [PATCH] (DOCS) Minor fixes in registry reference documentation --- docs/reference/tools/registry/find/index.md | 48 ++++++++++++++++++++- docs/reference/tools/registry/index.md | 12 +++--- 2 files changed, 53 insertions(+), 7 deletions(-) diff --git a/docs/reference/tools/registry/find/index.md b/docs/reference/tools/registry/find/index.md index e5952ed01..996d5666b 100644 --- a/docs/reference/tools/registry/find/index.md +++ b/docs/reference/tools/registry/find/index.md @@ -23,7 +23,53 @@ registry find [Options] --key-path ## Description -The `find` command isn't implemented yet. It returns a string that echoes the specified options. +The `find` command searches for registry keys and values that match the specified search string. +You can use this command to locate specific registry entries by name, optionally searching +recursively through subkeys or limiting results to keys or values only. + +## Examples + +### Example 1 - Find keys and values + + + +Search for registry keys and values containing "System" in a specific path. + +```powershell +registry find --key-path "HKLM\SOFTWARE\Microsoft" --find "System" +``` + +```output +Find key_path: HKLM\\SOFTWARE\\Microsoft, find: System, recurse: false, keys_only: false, values_only: false +``` + +### Example 2 - Recursive search for keys only + + + +Recursively search for registry keys containing "Windows". + +```powershell +registry find --key-path "HKLM\SOFTWARE" --find "Windows" --recurse +``` + +```output +Find key_path: HKLM\\SOFTWARE, find: Windows, recurse: true, keys_only: false, values_only: false +``` + +### Example 3 - Find values only + + + +Search for registry values containing "Desktop". + +```powershell +registry find --key-path "HKCU\Environment" --find "Desktop" --values-only +``` + +```output +Find key_path: HKCU\\Environment, find: Desktop, recurse: false, keys_only: false, values_only: true +``` ## Options diff --git a/docs/reference/tools/registry/index.md b/docs/reference/tools/registry/index.md index c1d819668..4c835e9dd 100644 --- a/docs/reference/tools/registry/index.md +++ b/docs/reference/tools/registry/index.md @@ -41,23 +41,23 @@ For more information about using `registry` as a resource, see [Microsoft.Window ### query -The `query` command isn't implemented yet. It returns a string that echoes the specified options. +The `query` command retrieves registry keys and values from the Windows registry. For more information, see [query][03]. ### set -The `set` command isn't implemented yet. It returns a string that echoes the specified options. For +The `set` command creates or updates registry keys and values. For more information, see [set][04]. ### remove -The `remove` command isn't implemented yet. It returns a string that echoes the specified options. -For more information, see [remove][05]. +The `remove` command deletes registry keys and values from the Windows registry. For +more information, see [remove][05]. ### find -The `find` command isn't implemented yet. It returns a string that echoes the specified options. -For more information, see [find][06]. +The `find` command searches for registry keys and values in the Windows registry. For +more information, see [find][06]. ### config