mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 06:01:45 +00:00
Update cheatsheets
This commit is contained in:
@@ -8,22 +8,26 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Compare keys and their values in the registry.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-compare>.
|
||||
|
||||
- Compare all values under a specific key with a second key:
|
||||
- Compare all values under a specific key with another key:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}}`
|
||||
`reg compare {{key_name1}} {{key_name2}}`
|
||||
|
||||
- Compare a specific value under two keys:
|
||||
- Compare a specific [v]alue under two keys:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}} /v {{value}}`
|
||||
`reg compare {{key_name1}} {{key_name2}} /v {{value}}`
|
||||
|
||||
- Compare all sub keys and values for two keys:
|
||||
- Compare all [s]ubkeys and values for two keys:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}} /s`
|
||||
`reg compare {{key_name1}} {{key_name2}} /s`
|
||||
|
||||
- Only output the matches between the specified keys:
|
||||
- Only [o]utput the matches ([s]ame) between the specified keys:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}} /os`
|
||||
`reg compare {{key_name1}} {{key_name2}} /os`
|
||||
|
||||
- Output the differences and matches between the specified keys:
|
||||
- [o]utput the differences and matches ([a]ll) between the specified keys:
|
||||
|
||||
`reg compare {{first_key_name}} {{second_key_name}} /oa`
|
||||
`reg compare {{key_name1}} {{key_name2}} /oa`
|
||||
|
||||
- Compare two keys, [o]utputting [n]othing:
|
||||
|
||||
`reg compare {{key_name1}} {{key_name2}} /on`
|
||||
|
||||
Reference in New Issue
Block a user