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

    How to output to two columns

    That's really good of you to reply, I am not sure if people are ever interested in seeing posters attempts. I did start to go down the object route but from the above I can see I'd confused the foreach too. I used foreach($backuphost in $backupnode) Also I made an error in the original post...
  2. crookedm

    How to output to two columns

    I am using a module to query a backup product and need (what I thought would be simple) the output of the commands to create the output side by side. ie. Node Serial node1 12345 node2 56789 node3 10112 etc I query the data I need using $backupnode = GetBackupNode $backupnode =...
  3. crookedm

    Check number of lines after a condition is met

    Blimey, that's wonderful, i'm digging out some old scripts and all of them use cat! I could really cut down on processes used and really streamline some of them. Thanks again. Really appreciate it.
  4. crookedm

    Check number of lines after a condition is met

    Hi just tested the commands and they work great, i'll get my notes out and put this command into my script then work on the rest. Gives me a great starting block. Many thanks.
  5. crookedm

    Check number of lines after a condition is met

    Hi, as I said i'm rusty so the for zone in logfile was and is pointless it was just me trying to get back into the scripting that I used to do, i.e. it was one of the very few things I remembered how to do. I should add that i've not scripted for over 4 years. What is UUOC ? The $2 was...
  6. crookedm

    Check number of lines after a condition is met

    Hi all, I've been away from scripting for a while, i've hit a brick wall with a script i'm writing! The data file has the following: zone: nameserver_absvc01a 10:00:00:00:00:00:00:00 10:00:00:00:00:00:00:00 10:00:00:00:00:00:00:00 10:00:00:00:00:00:00:00 10:00:00:00:00:00:00:00...

Part and Inventory Search

Back
Top