Hi Ken, thanks for your reply.
That's the message in Event Viewer:
VBScriptDeprecationAlert
ID 4096
VBScript is scheduled for deprecation. Our telemetry indicates that your system is currently utilizing VBScript.
We strongly recommend identifying and migrating away from any VBScript dependencies at the earliest.
The following process has been detected as using VBScript. The associated process tree and call stack are provided below to assist in identifying the scenario in which VBScript was invoked.
ProcessName = "cscript.exe"
ProcessTree = "cscript.exe;cmd.exe;userinit.exe;winlogon.exe"
CallStack = "vbscript.dll+0x68C16;vbscript.dll+0x5571F;vbscript.dll+0x40348;cscript.exe+0x114C;cscript.exe+0x1835;cscript.exe+0x4970;cscript.exe+0x40CF;cscript.exe+0x3A74;cscript.exe+0xD648;KERNEL32.DLL+0x2E8D7;ntdll.dll+0x8C48C"
ProcessTreeEnhanced = "cscript.exe("cscript /nologo
The matter is that vbs and js uses cscript.exe (marked for deprecation), and the suggestion is to move to PowerShell, and what I've found is that even PowerShell uses WScript.Shell, so if PowerShell calls to cscript.exe under the hood, what's the solution?
Regards.