Actually, answers referring to VBScript
really mean Windows Scripting Host:
WSH is a language-independent scripting host for 32-bit Windows platforms. Microsoft provides both Microsoft Visual Basic Script and Java Script scripting engines with WSH. It serves as a controller of ActiveX scripting engines, just as Microsoft Internet Explorer does. Because the scripting host is not a full Internet browser, it has a smaller memory footprint than Internet Explorer; therefore, WSH is appropriate for performing simple, quick tasks. Scripts can be run directly from the desktop by double-clicking a script file, or from a command prompt. WSH provides a low-memory scripting host that is ideal for non-interactive scripting needs such as logon scripting, administrative scripting, and so on. WSH can be run from either the protected-mode Windows-based host (Wscript.exe), or the real-mode command shell-based host (Cscript.exe).
Any windows language (besides vbs
and js
) that has access to good old COM
(ActiveX
) can use the same scripting objects. Python
is one example, and .NET
with P-Invoke
is another.
The Script Center Script Repository on technet contains many examples of WSH
usage in system administration, most in VBS
.