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 bkrike 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: *

  • Users: skar
  • Content: Threads
  • Order by date
  1. skar

    Writing to shared XLS

    Hi, I've wrote a simple VBscript that will write to a shared Excel spreadsheet. Im sending username, asset number, computer name and model type. I can run this on multiple machines, it will check if there is a duplicate and it will also find the next empty line to write to. This is working...
  2. skar

    HTA to query AD and DHCP

    Hi All, This is for a Windows setup using AD. I'm using VBscript in a HTA to write a small app that will allow admins a quick way to view a sites DHCP server, list all the scopes and edit the DNS servers issued out. Its coming on quite well and I'm around 80% done. But I have this gut feeling...
  3. skar

    Enumerate BIOS

    Hi all, I want to run a script on a new, out of the box machine that will read the entire BIOS and output everything into a CVS or some other format. Dont care, I can use Perl to fudge it into another format. I can get a bootable USB key with WinPE running but it's the WMI hooks I need help...
  4. skar

    Trying to catch an error

    Hi all, I've been working on a script to search Active Directory for a user name and then return the homedirectory. Took me a while to figure out the correct LDAP string but I now have it running. :D I'm using the name John Smith both to authenticate and as the test user to search for...
  5. skar

    working routine seems to hang on some servers

    The function below seems to work on 90% of windows servers. It catches if the server is a DC or not. But for some reason it hangs on some boxes. What would my next step be? It doesnt get to the msgbox that says "Im in the loop". Any help please! 'DomainControllerCheck - If the server is a DC...
  6. skar

    Win32 Registry SubKeys

    Hi all, I'm trying to get a KEY value from the registry. Now I can get your everyday values using this method: $platform = $Registry->{"//$_/HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/CurrentVersion/ProductName"}; But I want to get a KEY value and I'm having problems. I've been using...
  7. skar

    Identify and report all BackupExec servers

    Hi all, I've been tasked to write a script that will check servers (Microsoft) and report back the following if it IS running Backup Exec. If its not then just skip it. Platform NT, 2000 etc... Version of Backup Exec If its running RemoteAgent or has its own Tape Drive 90% of this I'm quite...
  8. skar

    Identify DC from list of servers

    I was tasked to write a script that would read in a list of servers, connect to each one in turn, find the admin account, reset the password and then echo the results out to text files. One for failures and one for success. This I did but I found a small problem. The routine that discovers the...
  9. skar

    Wifi bridge and an odd problem...

    Hello all, Picture a Farm. The office is in the main house. They have two PC's which are networked into a switch. There is also a small server acting as a firewall and Internet connection. All this works fine! They now need to give the PC at the Lagoon, which is about 200meters away, access...
  10. skar

    Regex for Multi line

    Hi all, I'm trying to grab data from a txt file. I can find the lines I want but having problems because the txt file wraps the text and I cant unwrap it! Here's some sample code I've been playing with. ======= #!c:/perl/bin/perl -w use strict; open(SURVEY, "c:\\compaq\\survey.txt") || die...
  11. skar

    Net::FTP transfer speeds

    Morning all, :-) I have this script that downloads files using the Net::FTP module. It works fine. But.... I need to generate a report of how big the file is and how long it took to download. I'm reading the documentation but cant seem to figure it out. I've set debug to 1 so I get a nice bit...
  12. skar

    FTP within Net::Telnet

    Hi all, I'm doing some work that envolves me telneting to a unix box. Then ftping onto another unix box and downloading files. I've written the script to do all the stuff for the telnet but I'm having problems getting FTP to work. I've tried to use the telnet->cmd("ftp hostname"); but...
  13. skar

    Advice needed.

    Hello all, I have a Cisco 800 series (803) ISDN router. Just want to know if it's worth upgrading the IOS? It's running 12.0(5)T. I'm still very new to Cisco and IOS but I am working towards my CCNA. :-) One of the reasons I want to upgrade is so I can use SSH to connect to the router instead...
  14. skar

    Report is blank for some users...

    We have a strange problem with one of our customers Access 97 databases. The user took me through a simple report and the 3 pages of data it produced. (very nice:-)) I then logged on and ran the same database. All was ok until I ran the same report and got 1 blank page. I even ran this with my...

Part and Inventory Search

Back
Top