Exclusively for TechExams members for Infosec Boot Camps starting before April 30, 2026
Note: It is not possible to input the password as a command-line parameter to runas.exe, because it would not be secure to do so.
strComputer = "server1" strNamespace = "root\cimv2" strUser = "administrator" strPassword = "password123" Set objWbemLocator = CreateObject("WbemScripting.SWbemLocator") Set objWMIService = objwbemLocator.ConnectServer _ (strComputer, strNamespace, strUser, strPassword)
Exclusively for TechExam members. Applies to boot camps starting before April 30, 2026.