utils.windows.registry module

Windows file and file-listing utilities

utils.windows.registry.simplify_reg_itemproperty(text: str, keys: List[str])

Simplifies a list of Get-ItemProperty calls and displays the requested keys

Any keys requested that don’t exist will display <key not found>. In addition, it always displays the PSPath as a header.

A key may also be given as a regular expression. It will be called with re.fullmatch(), which effectively implies ‘^…$’.