Basics: it is important to be familiar with JScript or VBScript.
Actual: Find the relevant WSF file reference from the network, and then compile it according to the actual needs, there are also a lot of vbs JS or WSF files on the machine [using the everything tool can quickly view local files]
Demo. WSF instance:
This script contains multiple jobs, which provides a quick reference for the basic skills mentioned in 1 and 2.
Run 1: cscript demo. WSF/IP:. // job: IE
Run 2: cscript demo. WSF/IP: 192.168.1.11/u: Administrator/P: Demo // job: IE
The preceding example shows that wsh can be used for complex control, and other statements are similar.