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 strongm 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. mragain

    script to uninstall Symantec Endpoint 11.x and install Sophos

    dim fso,fs1,subss Set ws = WScript.CreateObject ("WScript.Shell") set fso = CreateObject("Scripting.FileSystemObject") if fso.FolderExists("C:\Documents and Settings\All Users\Application Data\Symantec\Cached Installs") Then set fs1 = fso.GetFolder("C:\Documents and Settings\All...
  2. mragain

    Sophos install doesn't auto remove Symantec Corporate Edition 11.x

    Created a vbscript file to do the uninstallation of symantec and the install Sophos. Thought it would be a good idea to share. dim fso,fs1,subss Set ws = WScript.CreateObject ("WScript.Shell") set fso = CreateObject("Scripting.FileSystemObject") if fso.FolderExists("C:\Documents and...
  3. mragain

    Javascript silent ftp upload

    This is not a script that is running within a browser. It is using the windows scripting host (WSH) to run, same way you would use to run visual basic scripts on a workstation to automate some simple tasks.
  4. mragain

    Javascript silent ftp upload

    I have a javascript file running on a workstation that generates a file "d:\filegen.txt". I would like to add a statement at the end of the script that would automatically upload that file to a ftp server without any user intervention. The script is running via WSH. Does anyone know what...
  5. mragain

    vbscript and sql table view

    I appreciate your comments. I was able to find some links that help me last night, and thought I would post the code. Const adOpenStatic = 3 Const adLockOptimistic = 3 Const adUseClient = 3 strUserName = "testuser" strPassword = "password" Dim x Dim objConnection, objRecordset Set...
  6. mragain

    vbscript and sql table view

    I have a DSN defined on a machine called 'test'. I want to use this to access the database it points to and run a defined view there called zz_wanted_data. What methods does vbscript offer to make the connection run this view and process the data. The returned data can contain 25000 records...
  7. mragain

    Odd dhcpd messages in log

    While looking through my messages log I came across the following entries and was wondering if I need to be concerned. I am not using either of the subnets listed and was wondering why they were showing up. Thanks for you help and time. Jun 6 04:41:29 home dhcpd: DHCPINFORM from...
  8. mragain

    need script for ip address resolution

    I found the answer in a combination of host and awk: host -t a google.com | awk '{print($4)}' appreciate your time and comments.
  9. mragain

    need script for ip address resolution

    I have been looking at nslookup, but I was hoping there was a switch I could pass in that would strip out everything from the response except the servers IP address. The man pages have helped me in getting close to the output I wanted, but still returns more information than I wanted. thanks
  10. mragain

    need script for ip address resolution

    I have a file with a list of sites like: .playboy.com .myspace.com .etc.com I want to read each line in the file resolve its ip address and write the ip address that is returned into a another file. Any help will be greatly appreciate.
  11. mragain

    sysprep and nic auto negotiation

    I have some Gateway computers with built in intel gigabit nics. Recently the nics have pretty much ceased to properly negotiate link speed/duplex settings. If I manually set the nics then everything works great, but I need to be able to reclone the computers without losing what I've set the...
  12. mragain

    opening port 80 to limited users

    if you want to use iptables inserting a rule like this should work: iptables -A INPUT -s 10.10.10.10 -p TCP --dport 80 -j ACCEPT
  13. mragain

    redhat 9 and yum

    The python version on the machine is: python-2.2.2-26
  14. mragain

    redhat 9 and yum

    I'm trying to use yum to update a Redhat 9 box and keep getting the same errors when it runs. The version number of yum is 2.0.3 and the output is: File "/usr/bin/yum", line 60, in ? yummain.main(sys.argv[1:]) File "yummain.py", line 183, in main File "clientStuff.py", line 734, in...
  15. mragain

    iptables web interface

    I would like to use perl or php, but have no idea what kind of syntax it would take. I've looked at several books, but didn't find any references to running contained scripts on the box.
  16. mragain

    iptables web interface

    I'm trying to add some functionality to my Linux router so an end user could easily turn on/off tcp ports. I'm hoping there is a simple way of creating a web page with a few different buttons that once pushed would say disable routing of port 80, and then another button to turn it back on. Any...
  17. mragain

    easy asset management/inventory question

    I found an old version of aida and so far it looks like it may work. Thanks for the help.
  18. mragain

    easy asset management/inventory question

    I'm looking for a cheap/free program that can be run from a netware login script for machine inventory. Ideally I would like the program to output the information to a dos text file. Information needed is pc name, os, netware user, memory, and cpu speed. Any help or ideas would be greatly...
  19. mragain

    squid log file question

    I actually found what I was looking for. To search the access.log file for a specific ip the command line is: grep ip access.log | awk '{print (strftime("%D %r",$1)"\t"$3"\t"$7 )}'
  20. mragain

    squid log file question

    I haven't install mysql on the box and may need to look at that in the future, but I've seen this done before using an awk commmand line string.

Part and Inventory Search

Back
Top