I found what has happened here with specifically ps1 files.

HKEY_CLASSES_ROOT\Microsoft.PowerShellScript.1 has been removed as a default handler for ps1 files in 20H1.

The handler is now located at HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1\Shell\0. Adding context items here works.

We support Ukraine and condemn war. Push Russian government to act against war. Be brave, vocal and show your support to Ukraine. Follow the latest news HERE