In this chapter, we will cover the following recipes:
Windows Script Host (WSH), as the name suggests, is the underlying infrastructure offered by Microsoft Windows® to execute scripts written in a variety of programming (scripting) languages such as VBScript and JavaScript. This infrastructure can be used for a variety of important tasks, such as accessing networks and remote machines, manipulating the registry, and running remote scripts.
This chapter describes a few basic practical uses of WSH that are relevant to test automation. It is not intended to be an exhaustive tutorial or a replacement for Microsoft documentation on the topic.