It's time to sweep 5.1 aside for PowerShell 7.
Windows 11 KB5132061 introduces stricter PowerShell signature checks that could break older scripts. Microsoft offers a repair tool.