VBSCript, and probably by relation Wscript.shell, is not installed by default in newer versions of Windows 11. VBScript has been depreciated but not removed.

https://www.elevenforum.com/t/install-or-uninstall-vbscript-feature-in-windows-11.13095/

Manually
Start\Settings\Apps\Optional Features\Add a Feature\
Search for VBScript + Next
Install

DISM
DISM /Online /Add-Capability /CapabilityName:VBSCRIPT~~~~
_________________________
(... better days ahead)