Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hdxpdd

    Check services on array of computers

    Thank you! It works now :)
  2. hdxpdd

    Check services on array of computers

    Hi, thanks for your reply. I modified the code as you suggested and corrected my spelling mistakes ^_^ it now looks like this Option Explicit Dim oFSO, oFile, arrServer, strServer, objWMIService, sCol Const ForReading = 1 Set oFSO = CreateObject("Scripting.FileSystemObject") Set oFile =...
  3. hdxpdd

    Check services on array of computers

    The server names separated by comma. Simple names not FQDN. The first part works by itself but there appears that there is something wrong with the second at least that is where I get an error - expected ")" where I don't see how it should be there.
  4. hdxpdd

    Check services on array of computers

    Hello I'm relatively new to scripting and trying to find out if a service exists on a number of Servers but I'm stuck and can't figure out why the following code is not working Set oFSO = CreateObject("Scripting.FileSystemObject") Set oFile = oFSO.OpenTextFile("c:\test\Servernames.txt", 1)...

Part and Inventory Search

Back
Top