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. tltechie

    System info script

    that didnt work, it just got it stuck in an endless loop
  2. tltechie

    System info script

    Working on creating a script that will pull system information from machines on a network. The machine names are listed in an excel file and should pull them in a loop. I had the code in 2 sections origionally, the Loop and the Information gathering, but when i combine them the output.txt file...
  3. tltechie

    SO CLOSE YET SO FAR HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    objOutputFile.WriteLine date & " " & Time & VbCrLf & VbCrLf & _ 198 i use excel to get my line numbers. I know its silly but there are reasons i have to do it this way.
  4. tltechie

    SO CLOSE YET SO FAR HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    line 198 char 6 object required objitem
  5. tltechie

    SO CLOSE YET SO FAR HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    RemoteMachine = InputBox("Enter the Machine Name or IP Address you wish to Query:") If RemoteMachine = "" Then MsgBox ("You Must Enter A Machine Name or IP Address.") : WScript.quit End If '**************************************** ' GLOBAL OBJECT AND VARIABLE DEFINITION...
  6. tltechie

    SO CLOSE YET SO FAR HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Ive gone so far how would i clean it up to make it easy for yall to fix? i can paste in all the code that works?
  7. tltechie

    SO CLOSE YET SO FAR HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I worked on each script seperately and combined them all to make on large one. I am not good at scripting but ive learned this much in about a month.
  8. tltechie

    SO CLOSE YET SO FAR HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I cant get it to log to the text file. I had it before and then i broke it into pieces and put it in a nice order so it can be followed. Now it will not work right and i know its because i reordered everything. At work i do not ahve a script writer im just using notepad and im really not that...
  9. tltechie

    Log to text ( last question i swear)

    SERIOUSLY! I cant believe i missed that. Also you guys are awesome! My script is "flawless". THANK YOU SO MUCH
  10. tltechie

    Log to text ( last question i swear)

    i get unterminated string constent when i use this.
  11. tltechie

    Log to text ( last question i swear)

    everything im finding is doing the code line by line. I know its all wrong but i guess im not understanding. Dim objFileSystem, objOutputFile Dim strOutputFile ' generate a filename base on the script name strOutputFile = "c:\output.txt" Set objFileSystem =...
  12. tltechie

    Log to text ( last question i swear)

    This is how i am echoing the info im requesting but id love for it to go to a text file or some sort of log so it is neater For Each objSWbemObject in colSWbemObjectSet wscript.echo "Hard Drive Space",VbCrLf,_ "Megabytes of Free Disk Space on c:\ ", Int(FreeMegaBytes), VbCrLf, _...
  13. tltechie

    show network printers mapped

    Thank you guys i got it
  14. tltechie

    show network printers mapped

    What if we are working with an unknown server and just trying to get the information for the network printer.
  15. tltechie

    show network printers mapped

    I am trying to show the printers mapped to a computer. I only want the network printers to show up not the local ones. This script will show them but it also shows the document writers and other misc crap i dont want. Any ideas would help. Set objWMIService = GetObject("winmgmts:" &...
  16. tltechie

    Remote Machine DNS list

    ABSOLUTELY PERFECT!! Thank you so much for you help works wonders after some small tweaking.
  17. tltechie

    Remote Machine DNS list

    I have been working on this script for awhile and i cannot get it to work remotely with a variable from a larger script. RemoteMachine is the variable being worked with. I basically need the searchlist for the dns to be used with the variable, function readFromRegistry (strRegistryKey...

Part and Inventory Search

Back
Top