How did I add `cmd` to the File Explorer context menu in Windows 10?

Step 1

Take ownership on the KEY_CLASSES_ROOT\Directory\Background\shell\cmd branch of Windows Registry.
It is needed to be able to edit the registry entries mentioned below.

Step 2

Delete the «HideBasedOnVelocityId» key from the HKEY_CLASSES_ROOT\Directory\Background\shell\cmd branch of Windows Registry:
2023-04-28--03-35-37
askvg.com/windows-10-tip-restore-open-command-window-here-option-in-shiftright-click-menu

Step 3

Now the «Open command window here» menu item already works:
2023-04-28--02-50-33

But it requires the Shift key pressed before clicking the right mouse button.
How to make the cmd context menu item in Windows Explorer shown without the Shift key pressed?

Step 4

How to add an icon to the cmd context menu item in Windows Explorer?
2023-04-28--03-11-47

Step 5

Rename «Open command window here» to «cmd»:
2023-04-28--03-45-28

Step 6

Set the cmd window title.

Step 7

Set up the appearance.

How did I add PowerShell 7 to the File Explorer context menu in Windows 10?