Update cheatsheets

This commit is contained in:
ivuorinen
2024-03-08 00:13:39 +00:00
parent 18990cb95e
commit a7b5b6f8a4
21 changed files with 130 additions and 54 deletions

View File

@@ -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`