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 Mike Lewis 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. Rambeaux007

    Output Array Loop to Textbox in HTA

    Awesome! Thanks!
  2. Rambeaux007

    Output Array Loop to Textbox in HTA

    I like consolidation, but when I do that it seems to have a "Type Mismatch" error on the : Set objFileAgent = objFSOAgent.OpenTextFile("c:\textfile.txt", 1)
  3. Rambeaux007

    Output Array Loop to Textbox in HTA

    Magnificent! Works! Thank you!
  4. Rambeaux007

    Output Array Loop to Textbox in HTA

    Hello All! I am working on a HTA file that will parse thru a text file then output the last 5 or 6 lines of the text file to a Textbox. The script runs but only outputs 1 of the 5 readouts on the screen. I'm stuck. Please help! <head> <HTA:APPLICATION APPLICATIONNAME="HPSA Utility...
  5. Rambeaux007

    Does the Service Exist

    Outstanding!! Thank you!!
  6. Rambeaux007

    Does the Service Exist

    I am working on code that will check to see if the service exists. If it does then output the status. If it does not exist just output that it is not installed. I found some other code but cannot seem to get it to function. I get a error message of "Item does not support count function"...
  7. Rambeaux007

    How do I perform LDAP queries from remotely executed script?

    I believe I am experiencing the same issue. What account are you running the script on the remote machine as? If it is the system account you probably cannot enumerate Domain information with that account.
  8. Rambeaux007

    objShell.Run &quot;cmd to text variable?

    Why not assign the the command a variable? Something like... strCommand = objShell.Run ("cmd /c S:\update1.cmd",1,True) Set objExecObject = objShell.Exec(strCommand) Set objStdOut = objWshScriptExec.StdOut Do Until objStdOut.AtEndOfStream strLine = objStdOut.ReadLine Wscript.Echo...
  9. Rambeaux007

    Select Network Adapter for Configuration

    I seem to be getting a zero on one adapter then 94 on the rest. Any way to see what object it is looking for?
  10. Rambeaux007

    Uninstall &quot;Client for Microsoft Networks&quot;

    I don't know if this will help you if you are trying to do a single nic like I am. http://www.jsifaq.com/SF/Tips/Tip.aspx?id=4705 http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1079491&SiteID=1
  11. Rambeaux007

    Select Network Adapter for Configuration

    I keep getting a 94 or 0 for the intSetDNSServers. But the code worked fine. I am still scratching my head on that one. Thanks dm4ever!!
  12. Rambeaux007

    Select Network Adapter for Configuration

    This portion (below) seems to be skiping to "Unable to replace DNS..." Any ideas on this? intSetDNSServers = objNicConfig.SetDNSServerSearchOrder(arrNewDNSServerSearchOrder) If intSetDNSServers = 0 Then WScript.Echo " Replaced DNS server search order list." Else WScript.Echo "...
  13. Rambeaux007

    Select Network Adapter for Configuration

    Do you mean like this? I don't think the quotes are correct because it doesn't seem to grab any NIC's. Set colNicConfigs = objWMIService.ExecQuery _ ("SELECT * FROM Win32_NetworkAdapter WHERE NetConnectionID = 'NIC One'",,48) NICIndex = objItem.Index Set colNicConfigs =...
  14. Rambeaux007

    Select Network Adapter for Configuration

    Hello, I am trying to create a script that will only configure the DNS suffixes for a specific adapter. Unfortunately I can only utilize the NetconnectionID name with happens to have a space in the name. Can someone point me in the right direction? Thanks!! On Error Resume Next...
  15. Rambeaux007

    Filter info using RegExp

    Awesome that works great!! Now where would be the best place for this in the script I have? At the bottom, as a function?
  16. Rambeaux007

    Filter info using RegExp

    This script executes the HPONCFG.exe then parses thru it's output. The problem lies when I try to filter out the information between the quotes. (<IP_ADDRESS VALUE = "100.148.8.182"/>) I need to get the regexp working so I can get the information out of the quotes. Not just for IP but other...
  17. Rambeaux007

    Search Multiple Files on Multiple Computers

    Thanks!! This gives me something to work with.
  18. Rambeaux007

    VBS version of delprof?

    I used this script a while back. Not sure if it will help you. Set objOU = GetObject ("LDAP:// OU=<OU>,OU=<OU>,DC=<DC>") objOU.Filter = Array ("Computer") For Each ObjComputer In objOU strName = objComputer.Name strlen = len(strName) size = strlen -3 strComputerName = Mid(strName, 4...
  19. Rambeaux007

    Search Multiple Files on Multiple Computers

    I have made the corrections. The script works....as is. My issue is modifying it so that it will read multiple files of the same file type within a given folder on multiple computers. As you can see it already loops throught multiple computers. I just don't know where to start for reading...
  20. Rambeaux007

    Search Multiple Files on Multiple Computers

    Actuallay I didn't want to put all the code here. But here is the entire Script. It opens an excel spreadsheet then outputs the information gathered from the log file on each computer. I need it to read more than just the one log file on a computer. Thanks for your help!! Dim...

Part and Inventory Search

Back
Top