mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-09 21:58:01 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/windows/reg-query
Normal file
29
tldr/windows/reg-query
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# reg query
|
||||
|
||||
> Display the values of keys and sub keys in the registry.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-query>.
|
||||
|
||||
- Display all values of a key:
|
||||
|
||||
`reg query {{key_name}}`
|
||||
|
||||
- Display a specific value of a key:
|
||||
|
||||
`reg query {{key_name}} /v {{value}}`
|
||||
|
||||
- Display all values of a key and its sub keys:
|
||||
|
||||
`reg query {{key_name}} /s`
|
||||
|
||||
- Search for keys and values matching a specific pattern:
|
||||
|
||||
`reg query {{key_name}} /f "{{query_pattern}}"`
|
||||
|
||||
- Display a value of a key matching a specified data type:
|
||||
|
||||
`reg query {{key_name}} /t {{type}}`
|
||||
Reference in New Issue
Block a user