I've got a script that reads a file(containign machine names) and
start a service. The script works as expected when trying to start
standalone service. i.e. It kicks off the service(& does not wait for
completion) in each machine.

When a service is dependent on another service, running the script
will wait for dependent service to start. Hence, for each machine the
script waits for dependent service startup.

How can I change the script such that it will not wait for dependent
service startup...?
Here's the code snippet...
---
cmdToexecute = "Winmgmts:\\" & "MyMachine" & "\root\cimv2"
Set wmi = GetObject(cmdToexecute)
Set wmiService = wmi.get("win32_service.name='" & "MyService" & "'")
LatestState = wmiService.state
LatestStatus = wmiService.status
If LatestState = "Stopped" Then
wmiService.startservice
End If
---
Thanks,
Sandiyan